Using UCM 11g metadata fields within IPM

IHAC that is already running UCM 11g and would like to introduce IPM. As part of defining application within IPM is it possible to reuse already defined metadata fields from UCM?
thanks

Still a problem, but I just discovered I wasn't setting the attachments.storageType to UCM.  I also now set the attachment.revision to the revision number for the document seen in UCM.  Not sure it matters, but I set the attachment.attachmentScope to TASK, and I set the name and title too.
But now I get this error on the User Activity when I create a test composite:
<bpelFault><faultType>1</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><part name="payload"><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><faultInfo>oracle.stellent.ridc.protocol.ServiceException: Unable to execute service DOC_INFO and function QdocInfo. The error was caused by an internally generated issue. The error has been logged.</faultInfo></operationErroredFault></part></operationErroredFault></bpelFault>
Clearly there is something more I must set, but I don't know what.  Any and all help would be appreciated.
Thanks.

Similar Messages

  • Accounts in UCM 11g from external LDAP provider

    Hi,
    We are developing an application using UCM 11g. For authentication and authorization we are using external LDAP. Following are the steps followed to configure the UCM 11g for external LDAP.
    1) Created User and Groups directory in LDAP
    2) Created user and group in LDAP.
    3) Assigned users to the groups.
    3) Created accounts in group directory .Account name start with @ and ends with (RW)
    4) Created a new provider in WLS.
    5) Created a new JpsProvider in UCM.
    Now, roles(groups in LDAP) and user are coming properly form LDAP. but the accounts are populating in UCM.
    Can anybody tell me the solution for this problem
    Thanks in advance..
    Regards,
    Nitin

    In theory there is no limit, but as with most of the products and features inside the Content Server it comes down to design and size impacting performance.
    So there is no simple answer.
    The more complex answer is you need to try to keep things as simple as possible while still completing your goals.
    For instance the Folders component in 11g is limited (hard coded) to 1000 files per folder maximum due to performance degradation if you put more in your folders. Many people just try to put more in and before the hard coded limit in 11g people did and their folders browsing became almost unusable due to slow browsing of the folder structure and files in side.
    Similarly with Security we can impact performance with too many security groups, badly designed Roles to access security groups or badly designed Account structures. Notice I only said "too many" on Security groups but not "too many" on Accounts. You should try never to go above 25 security groups (this is not a hard coded limit just a best practice) and the "badly designed" part of roles and accounts can lead to bad performance and even broken security.
    It comes down to DB performance, DB limitations and code limits.
    First off be aware that there is a limit on how long a query in the DB can be. Commands and SQL in the DB are not endlessly long, there is a maximum number of characters. Keep that in mind as we go along into the next parts.
    Second be aware that if you make a badly built query it will take a long long time.
    Third be aware that when you are building security models in UCM these security structures go DIRECTLY to DB queries and remember the above 2 points.
    So every search in UCM is a query when you take it back to the DB level, and every search requires a behind the scenes security check to make sure you can read the documents you are searching for. So any query built in the search interface gets an additional set of parameters automatically when executed (security).
    So now we need to also think about your Metadata and not just the Security on that limited length DB back end. Do your users have 99 metadata fields (I hope not) and if they do do they use most of them while searching? How long will that query be before you add the security query?
    Back to the security parts with accounts.
    If you have your users having only a few roles providing only access to a small number of security groups and those same users only having a few accounts then searches will get a short security access query added since the number of additional checks for security are small. If the roles and group accesses and account accesses are very large (to the extreme limit) again this will be easy to make a short query due to the small number of excluded security roles and accounts.
    BUT and this is a biggie. IF the users are given a number of roles and accounts that is middle of the road for number of total accesses then the query is as long as it can be and if the metadata is complex and large too then you may be running into the limit of Query string in the DB and your query may get truncated which results in a broken security model maybe.
    That is not even talking about the efficiency of the query and how long it takes.....
    Sorry for the book like reply to your simple question, but it really is not a simple question. :)

  • Metadata field -Tree update don't work from Config mgr and database

    Hi All,
    I am using UCM 11g. I have a Information field of type 'Memo' which is based on a Option list which uses tree. Updating it is giving me the following problems:
    1. When i update a value in the tree using UCM CS configuration manager, sometimes the change doesn't get reflected on the update info form of a document (immediately and even after several hours)
    2. When i update directly through database end, sometimes the change is not reflected in the config mgr - information field. And sometimes it reflects there immediately but not in update form.
    Once Publishing schema and clearing browser's cookie/temp files worked, but not every time.
    Currently, i have added some data from db end, and the data is not showing up on config mgr, and even in the views there. I have tried clearing browser's cache, publish schema, publish schema base, publish schema config and data, but nothing worked.
    I don't want to go for bouncing the server option every time for such changes. Sometimes, everything does work fine instantly.
    Is there some cache etc maintained by UCM and how to clear it so that it picks up the changes in the underlying table data immediately? Please help asap as i have been stuck in this for a long time.
    P.S. I am doing it from db end in the correct manner, and doing so because i have hundreds of values to be added/updated in the metadata taxonomy tree so don't want to do it manually from ucm config mgr ui.

    '*Is there any UCM notification mechanism which we can use so as to tell it that there is some change in the underlying database or in configuration manager metadata tree; or some in built cache that we can clear so that it picks up the change*'.Nothing I would be aware of. Since you can just login directly to the database (e.g. via sqlplus) and insert/update/delete rows directly such a mechanism would have to be in the database (a trigger), but that would be an overkill.
    Updates in the database - when run from the Config Mgr, for instance - work differently - first a change is done, than a service to update the schema is called (a change, actually, means both changing the scheme and its metadata). I don't know how exactly changes in taxonomy are implemented, but I'd expect something similar - note that a lot of information is cached due to performance reasons and changes like adding/modifying a profile, option lists, or trees might require purging this cached data. Usually, at least closing the browser/re-login helps. If there is a mechanism that can force 'push-model', I'm not aware of that.

  • Updating Content Type from other metadata field

    Hi.
    In the process of creation of metadata fields a customer use a custom metadata field called 'class' to define what type the content are. The field Content Type was leave untouchble. Now they have tons of content in the same folder inside vault cause content server uses the metadata content type to create vault subfolders. What is the best way to eliminate the field class, transporting the metadata to the correct field content type and mantain the correlation of the links to the native files and weblayout files of the content? If I just update the column content type with the data in column class I believe that willl be a mess of broken links. Can anyone suggest anything?
    Thank you!

    Hi there,
    Thought i could not comprehend all that you want, I could get that you have problem with a meta data filed.
    Instead of using "Content Type" earlier contributors used "class" and now you want to chagne the "class" field with appropriate value of "Content Type".
    This can be done provided the original "class" type was used intellegently by using following steps
    1) depending on various values of class(e.g. all document for which class=A) created exports using archiver, also deleted them same time.
    2) Import the archiver created in step one and prove an input map for the "class" field to appropriate value as "Content Type"(content type =B)
    In this way all content items with class=A would be converted into content type=B.
    Hope that helps you.
    regards,
    sapan

  • Best practices for using the 'cost details' fields

    Hi
    Please could you advise us to the best practices for using the 'cost details' field within Pricing. Currently I cannot find the way to surface the individual Cost Details fields within the Next Generation UI, even with the tick box for 'display both cost and price' ticked. It seems that these get surfaced when the Next Generation UI is turned off, but cannot find them when it is turned on. We can see the 'Pricing Summary' field but this does not fulfill our needs, as some of our services have both recurring and one-off costs.
    Attached are some screenshots to further explain the situation.
    Many thanks,
    Richard Thornton

    Hi Richard,
    If you need to configure dynamic pricing that may vary by tenant and/or if you want to set up cost drivers that are service item attributes, you should configure Billing Tables in the Demand Management module in 10.0. 
    The cost detail functionality in 9.4 will likely be changed to merged with the new pricing feature in 10.0.  The current plan is not to bring cost detail into the Service Catalog module.

  • Fulltext search in UCM 11g

    Hi,
    we are using UCM 11g in our application. Database is oracle 11G for the UCM. We need fulltext search to be enabled on UCM. But there two option to enable the fulltext search DATABASE.FULLTEXT and ORACLETEXTSEARCH.
    Can anybody please tell which option should be used to enable fulltext search.
    Thanks in advacance...

    Hi Nitin,
    We can configure the new file formats for full text search. Steps below:
    Log in to with Admin permissions.
    Go to Administration -> Admin Applets -> Configuration Manager
    Options tab -> File Formats
    Go to File extensions section add your new file extension for which you want to enable the full text and map to some text format or word format
    Now, you will be able to full text your own extension based file. I have verified, it's working well
    Please note that, if the file extension is more than 8 characters (default value) you will not be able to add;
    But, you can alter the table "ExTENSIONFORMATMAP" and can go ahead with longer extensions. Hope this will be useful.
    Gowtham J

  • Retrieve a list of different values of custom metadata field of an UCM connection

    Hi
    I am planning to create a custom search document functionality for my UCM and Portal integration. Basically, I am planing to create CMIS queries dynamically. In order to create the CMIS query, I need the possible values of custom metadata for the user to select from and through a backing bean construct the cmis query based on this selection.
    I have created a custom metadata field (lets say, 'KindOf'). So I want to show the user a list of all possible 'KindOf' values, so user selects the values he wants and I use those values to build the cmis query and show the results.
    What is the easiest, best practices, how would you do it, way of achieving this?
    I have little experience with UCM.
    Regards

    Hi,
    As rightly pointed out by jiri machotka, you want that option list .
    if you create a option list metadata, you have to publish schema to get the values. You can do it by two ways:
    1) Wait for the event which publish the schema automatically.
    2)Select "Publish schema" in the options menu of the Configuration Manager.
    Some good implementation info about searching can be found at - Students at Oracle: UCM: Creating search and check-in profiles with custom metadata
    and http://www.slideshare.net/heikim/effective-strategies-for-searching-oracle-ucm
    Otherwise if you want faceted search or something near to enterprise searching capabilities, then go for enterprise search engines.
    I have recently worked on Enterprise Search Engines on various CMS products for better,intuitive and relevant search results.
    Hope, above information can help you out.
    Regards,
    Hoque

  • How to use RelatedContent component with UCM 11g without Records Management

    As the subject really...
    I have been playing around with UCM 11g and want to use the RelatedContent component in isolation of URM / Records management.
    Can I still do this, and is it supported.
    I have had a look at advanced component manager and also the RMFC page but if I select a custom install with only related content I get a whole bunch of RM related stuff in the interface that I do not need.
    Any suggestions? Is the old RelatedContent component supported directly on 11g?
    Thanks
    Tim
    Edited by: Tim Snell on 24-Aug-2010 08:16

    Hi,
    First this post is really helpful as I was looking around for enabling related content component in ucm11g.
    Now i am able to see it in my enabled component lists.
    However , i have one doubt. I have enabled the component and restarted the server. After that if i got the checkin page, i can see only 'wwxRelatedContentTriggerDate' metadata for the related content. My assumption was when I enable the component, i will get a metadata on the content check in page to link to the other content items.
    So can you please help me
    1) to help whether my understanding is correct?
    2) if yes, why am i not getting the metadata to specify the other contents is not shown? what I need to do for the same?
    Thanks a lot in advance
    Regards
    Poornima

  • Batch process to create large number of metadata fields in UCM?

    Is there any kind of scripting available to create a large number of metadata fields in UCM?.
    thanks

    I can give you a code in java, which adds two metadata fields. It's quite hardcoded, but you could use it as a basis for a script:
    String FIELD1_NAME = "xsecretKey";
    String FIELD2_NAME = "xattachmentID";
    if (binder == null)
    binder = new DataBinder(SharedObjects.getSafeEnvironment());
    String maxOrderQuery = "select MAX(dOrder) as dOrder from DocMetaDefinition";
    try
    String val = loader.getDBConfigValue(COMPONENT_NAME, COMPONENT_SUBNAME, null);
    //binder.putLocal("dName", FIELD1_NAME);
    binder.putLocal("dName", FIELD2_NAME);
    ResultSet tempRs = ws.createResultSet("Qmetadef", binder);
    if (val == null || tempRs.isEmpty())
    ResultSet rset = ws.createResultSetSQL(maxOrderQuery);
    String orderStr = ResultSetUtils.getValue(rset, "dOrder");
    int order = NumberUtils.parseInteger(orderStr, 0);
    setNewFieldParams(binder, "BigText", "secretKey", "<$dateCurrent()*1$>");
    addNewMetadataField(FIELD1_NAME, binder, ++order, null, null, ws, cxt);
    setNewFieldParams(binder, "Text", "attachmentID", null);
    addNewMetadataField(FIELD2_NAME, binder, ++order, null, null, ws, cxt);
    rset = ws.createResultSetSQL("select * from DocMeta where dID=0");
    if (!testResultSetFieldExists(rset, FIELD1_NAME))
    FieldInfo fi[] = loader.createFieldInfo(new String[] {
    FIELD1_NAME
    }, 200);
    //fi[0].m_type = 5;
    ws.alterTable("DocMeta", fi, null, new String[] {
    "dName"
    if (!testResultSetFieldExists(rset, FIELD2_NAME))
    FieldInfo fi[] = loader.createFieldInfo(new String[] {
    FIELD2_NAME
    }, 30);
    //fi[0].m_type = 3;
    ws.alterTable("DocMeta", fi, null, new String[] {
    "dName"
    loader.setDBConfigValue(COMPONENT_NAME, COMPONENT_SUBNAME, "7.0", "1");
    catch (Exception e)
    SystemUtils.dumpException(null, e);
    }

  • Not able to see Metadata fields when adding the fields to the rule in UCM

    Not able to see Metadata fields when adding the fields to the rule even after creating them in information fields of configuration manager.It is happening for few fields only.We are using 10.1.3 version of UCM.Kindly provide a solution if any.

    Dhilipan,
    I am trying to setup AES at the current Customer.
    You are right on LR_JP to be linked to customs code list instead of ACE and I do achieve that if I were to maintain the Custom code list by maintaining the assignment for EAR in a separate test.
    I was infact trying to follow the link: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30c7015e-c191-2d10-71b9-95907dc8edd1?overridelayout=t…
    On this document, if you look at page# 14 thru 17, it has the steps I described in my original note with customs code still appearing in the drop down for 'EXCPT' for EAR.
    Nevertheless, I wanted to default Type = C50 when the license type for the line on the Customs declaration is 'EXCPT' but if you see the very last screen-shot below, even though the license type configuration has default value as 'C50' it did not get pulled into the line item Documents tab when I tried to pick the category as 'CUII'.
    Let me know your thoughts on defaulting the data into Customs declaration for AES filing.
    What I want to achieve is the following:
    When License type is 'EXCPT', system should default the type as 'C50'
    Should put the License type 'EXCPT' into the number field
    Should put the actual License# 'ENC' into the Supplement field
    Should put the ECCN # '5A002' into the Details field
    Thanks,
    Prashant.

  • Adobe Bridge CC: Batch Rename using any metadata field

    How can I add certain Metadata fields to the pull down menu in the batch rename function?
    I need to do a batch rename of files, but using metadata fields that are not available as an option on the pull down menu.
    Hoping to use any or all of these:
    Audio : Artist, Album, Genre
    IPTC Core : Description, Keywords, etc..

    I don't think there is any way in which you can add to the built-in functions…
    Unless this is actually provided by one of the Adobe start-up scripts… ( I've not see it when digging about )
    You would probably need a scripted solution that can give you drop down menu of the extra options you want.

  • How to use ADD_METADEF to add a custom metadata field

    Hi All,
    I am trying to add a custom metadata field to check in profile, and this I want to do using RIDC library through my java program. I have tried the following code, but some how I could not see its getting added to Information Fields and also to Standard check in profile.
    Can you let me know what am I missing?
                myIdcClient = myIdcClientManager.createClient("idc://XXXX:4444"); // just commented out
                IdcContext myIdcContext = new IdcContext("weblogic", "weblogic1");
                ServiceResponse myServiceResponse = null;
                  DataBinder myRequestDataBinder = myIdcClient.createBinder();
                    myRequestDataBinder.putLocal("IdcService", "UPDATE_OPTION_LIST");
                    myRequestDataBinder.putLocal("dKey", "xLocationList123");
                  myRequestDataBinder.putLocal("OptionListString", "Madrid\nTokyo\nLondon\nWashington");
                    myServiceResponse = myIdcClient.sendRequest(myIdcContext, myRequestDataBinder);
                    myRequestDataBinder = myIdcClient.createBinder();
                    myRequestDataBinder.putLocal("IdcService", "ADD_METADEF");
                    myRequestDataBinder.putLocal("dName", "xLocations123123");
                    myRequestDataBinder.putLocal("dIsRequired", "0");
                    myRequestDataBinder.putLocal("dOptionListKey", "xLocationList123");
                    myRequestDataBinder.putLocal("dOptionListType", "choice");
                    myRequestDataBinder.putLocal("dIsOptionList", "1");                    
                    myRequestDataBinder.putLocal("dIsSearchable", "1");
                    myRequestDataBinder.putLocal("dIsEnabled", "1");
                    myRequestDataBinder.putLocal("dType", "Text");
                    myRequestDataBinder.putLocal("FieldName", "xLocations123123");
                    myRequestDataBinder.putLocal("dCaption", "Locations");
                    myServiceResponse = myIdcClient.sendRequest(myIdcContext, myRequestDataBinder);
                    myRequestDataBinder = myIdcClient.createBinder();
                    //IdcService=UPDATE_META_TABLE
                    myRequestDataBinder = myIdcClient.createBinder();
                    myRequestDataBinder.putLocal("IdcService", "UPDATE_META_TABLE");
                    myServiceResponse = myIdcClient.sendRequest(myIdcContext, myRequestDataBinder);
                    myRequestDataBinder = myIdcClient.createBinder();
                    myRequestDataBinder.putLocal("IdcService", "START_SEARCH_INDEX");
                    myRequestDataBinder.putLocal("IsRebuild", "1");
                    myServiceResponse = myIdcClient.sendRequest(myIdcContext, myRequestDataBinder);
                    myRequestDataBinder = myIdcClient.createBinder();
                    myRequestDataBinder.putLocal("IdcService", "PUBLISH_SCHEMA");
                    myServiceResponse = myIdcClient.sendRequest(myIdcContext, myRequestDataBinder);
    Thanks in advance.

    Try calling the following code:
    import static intradoc.shared.MetaFieldUtils.hasDocMetaDef;
    import static intradoc.shared.MetaFieldUtils.updateMetaDataFromProps;
    import intradoc.common.ServiceException;
    import intradoc.data.DataBinder;
    import intradoc.data.DataException;
    import intradoc.data.Workspace;
        protected static void addMetadataFields(final Workspace workspace, final DataBinder binder) {
            traceVerbose("Start addMetadataFields");
            // Parameters for metadata field
            final String[] parameters = new String[] { "dsdComponentName", "dComponentName", "dsdVersion", "dType", "dIsRequired", "dIsEnabled", "dIsSearchable", "dIsOptionList", "dOptionListKey", "dOptionListType", "dDefaultValue", "dOrder", "dIsPlaceholderField", "dsdCheckFlag",
                    "dsdDisableOnUninstall" };
            // Common values for primary and alternate field values
            final String[] values = new String[] { "ComponentName", ComponentName, "build_1_20131206", "BigText", "0", "1", "1", "0", "", "", "", "2500", "0", "", "" };
            // Primary file checksum field parameters and values
            final Properties field = new Properties();
            for (int i = 0; i < parameters.length; i++) {
                field.put(parameters[i], values[i]);
            // Setup primary file specific parameters
            field.put("dName", "Metadata field name");
            field.put("dCaption", "Metadata field caption");
            try {
                // Name of metadata field
                final String fieldName = field.getProperty("dName");
                trace("dName: " + fieldName);
                if (fieldName != null && fieldName.length() > 0 && !hasDocMetaDef(fieldName)) {
                    try {
                        updateMetaDataFromProps(workspace, null, field, fieldName, true);
                        trace("Successfully added metadata field " + fieldName);
                    } catch (final ServiceException e) {
                        warn("Metadata field " + fieldName + " was not installed.", e);
                    } catch (final DataException e) {
                        warn("Metadata field " + fieldName + " was not installed.", e);
                } else {
                    trace("Metadata field already exists; will not modify");
            } finally {
                traceVerbose("End addMetadataFields");
    Jonathan
    http://jonathanhult.com

  • Monitoring WCI 10.3.0 & UCM 10.1.3.5 using OEM 11g R1

    As part of the Service Monitoring for our OFM-OUCM environment, we have implemented OEM 11g R1. Our Dev/Test/UAT/Prod environment is comprised of SOA 10.1.3.5, WCI 10.3, UCM 10.1.3.5, multiple DB instances 10.2.0.3/10.2.0.4, IDM 10.1.4.0.1. We are able to monitor SOA 10.1.3.5, IDM 10.1.4.0.1 & the databases. But the 11g Agent wasnt able to discover the targets for WCI 10.3.0 & UCM 10.1.3.5. Is there a way to monitor UCM 10gR3 & WCI 10.3 using OEM 11g R1 or do we need to downgrade the OEM version.
    We are able to see the WCI Products in the Hosts -> Configuration tab in OEM. But we are not able to monitor these as targets.
    WebCenter Interaction API Service 10.3.0.0.0
    WebCenter Interaction Automation Service 10.3.0.0.0
    WebCenter Interaction Content Upload Service 10.3.0.0.0
    WebCenter Interaction Directory 1.0.0.0.0
    WebCenter Interaction Document Repository Service 10.3.0.0.0
    WebCenter Interaction Identity Service for LDAP 10.3.0.0.0
    WebCenter Interaction Image Service 10.3.0.0.0
    WebCenter Interaction Notification Service 1.0.0.0.0
    WebCenter Interaction Portal 10.3.0.0.0
    WebCenter Interaction Remote Portlet Service 1.0.0.0.0
    Thanks

    Did you check http://www.oracle.com/us/products/enterprise-manager/039537.pdf ?
    and http://www.oracle.com/technetwork/oem/soa-mgmt/index.html
    MANAGEMENT PACK FOR WEBCENTER SUITE
    Regards
    Rob
    http://oemgc.wordpress.com

  • Unable to create content properly in UCM 11G using validateStandard filter

    Hi All,
        We have used validateStandard filter to assign content id with 16 digits in UCM 10G and it worked well, we deployed this component in UCM 11G but it is not working properly. When we click on Check In button content is getting created and displaying  Check_In Confirmation with 16 digit Content ID, upon clicking on Content Info it is displaying the complete info page. When we try to search the content it is not displaying in search results, also when tried to export it using Archiver it is not creating batch file. When we see logs in View Server out put it is displaying
    Unable to lock content with dDocName: 6322932684534064
    File to be removed: D:/oracle/ucm/cs/oracle/ucm/cs/vault/~temp/6322932684534064_meta.htm
    Below is the code and its corresponding log after check In is performed
    trace("=====Set 16 digit random number as ContentId=====");
                 String contId = databinder.getLocal("dDocName");
                 trace("=====value of contId====="+ contId);
            if("".equals(contId))
            //trace("=====Inside ContentId generetion=====");
            int maxdigits = 16;
            StringBuilder result = new StringBuilder();
            Random r = new Random();
            for (int i = 0; i<maxdigits; i++)
            result.append(r.nextInt(10));
            databinder.putLocal("dDocName", result.toString());
            trace("=====Generated ContentId is====="+ result.toString());
    View Server O/P:
    =====Set 16 digit random number as ContentId=====
    =====value of contId=====001885
    =====Generated ContentId is=====6322932684534064
    >(internal)/6 07.08 15:09:28.273 IdcServer-968 Unable to lock content with dDocName: 6322932684534064
    >(internal)/6 07.08 15:09:29.476 IdcServer-968 File to be removed: D:/oracle/ucm/cs/oracle/ucm/cs/vault/~temp/6322932684534064_meta.htm
    Thanks,
    Ashok

    Its a bug. References BUG:16231709 - OBIA7964:ERROR WHILE CREATING DATA WAREHOUSE TABLES USING DAC 11G
    So far the workaround is to use one Container Name at a time when creating the Warehouse.
    If helps mark and update back

  • What is the easy way to update Managed Metadata field multi select values using client object model C#?

    The below mentioned code works sometimes and doesn't most of the time. What is the real best way to update multi select managed metadata fields?
    Microsoft.SharePoint.Client.File file = site.GetFileByServerRelativeUrl("/sites/myspsite/Documents/Presentation2.pptx");
    clientContext.Load(file);
    clientContext.ExecuteQuery();
    ListItem currentItem = file.ListItemAllFields;
    clientContext.Load(currentItem);
    clientContext.ExecuteQuery();
    currentItem["Country"] = "-1;#India|1d13cfe9-d6f4-4bd3-a6c7-4b46a81f2a96;#-1;#China|9c1dff73-82db-44b1-8d70-f4258dd24e47;#-1;#USA|b9295c0b-67d4-4dc5-99d4-e88af888de48";
    currentItem["Title"] = "Demo Doc";
    currentItem.Update();
    clientContext.ExecuteQuery();
    file.CheckIn("test check-in", CheckinType.MajorCheckIn);
    clientContext.ExecuteQuery();
    Anuradha!!

    Hi,
    Here are two blog for your reference:
    How to Work with Managed Metadata Columns by Using the SharePoint Client Object Model
    http://blogs.msdn.com/b/sharepointdev/archive/2011/11/18/how-to-work-with-managed-metadata-columns-by-using-the-sharepoint-client-object-model-kaushalendra-kumar.aspx
    SharePoint 2010 Code Tips – Setting a Managed Metadata Field with the Client Object Model
    http://sharepointfieldnotes.blogspot.com/2011/08/sharepoint-2010-code-tips-setting.html
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Using bapi_po_create1 to create PO with return item - Order Combination

    Hello, There's a shipping tab that appears in a purchase return item, and in it there's a flag called Order Combination. Only i can't seem to find a way to change that flag using this BAPI, nor using bapi_po_change. Any ideas? Thank you in advance. D

  • Warnings while activating the smartform

    Hi All, iam trying to display data in a form. the data is present in the internal table of the driver program. i declared an internal table with the same structure as that of the internal table of the driver program in the TABLES paramaeter of the fo

  • Podcast plays on itunes but wont transfer to Ipod

    Hi I have recently subscribed to a podcast(audio) and downloaded a few episodes. Problem- although it plays on iTunes it won't transfer over to my iPod( 30gb Video)when I sync it.I get a message that says the this podcast won't play on my iPod. Why?

  • Criteria for new battery and case

    So I went to my local authorized apple repair place today and talked for quite a while to a very nice genius who left me more confused than ever about how bad a battery needs to be to warrant replacement. There seem to be no clear criteria. What my b

  • How do i set the event duration default

    how do i set the event duration default on my iphone calendar.  it is preset to 1 hour and i want to change the dafault duration time