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

Similar Messages

  • Publishing Content Types from Hub in Bulk

    I am able to publish content types from the hub just fine. However, I am in a migration scenario where over 1500 content types are being migrated to SharePoint Online from SP2013. We have successfully migrated these to the content hub, managed metadata stores,
    etc. However, when they are migrated, the publish property does not migrate with it.
    On-Premises, we could publish all of these with PowerShell so they could be consumed by the syndicated sites. Is there a way to publish all of these so that we don't have to go into each once via the UI?

    Depends who you give access too. What I'd consider doing is making a copy of what you consider to be the template for the rest of the content types, save that to a unique category within the list of content types and then build the rest off that. Show the
    client how to make changes to JUST that template and in theory you'll be fine.
    Or, are the content types in use already?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Update content type definition in sandboxed solution

    In my web application I am using a content type hub. The content type hub contains a sandboxed solution which contains several content type and column definitions like this:
    <ContentType>
    <FieldRefs>
    <FieldRef ID="" Name="" />
    </FieldRefs>
    </ContentType>
    <Field ID="" Name="" />
    Now I need to update a content type definition by adding a new column. In my content type definition in Visual Studio I added the field refence to the column and build a new WSP.
    I am updating the sandboxed solution with PowerShell. First I add the new solution:
    Add-SPUserSolution -Site $url -LiteralPath $newSolutionFile
    Then I update the old solution with the new:
    Update-SPUserSolution -Identity $oldSolutionName -Site $url -ToSolution $newSolutionName
    The old solution is deactivated and the new solution is activated, so the update did go well. But when I go to see the content type, it's not updated. The newly added column did not get added.
    When I manually deactivate the newly added sandboxed solution and activate it straight away the content type does get updated. So it looks like the Update-SPUserSolution command does not update the content type and column definitions.
    Does anyone has experience with updating content types with the Update-SPUserSolution command?

    Hi,
    Please check the link below.
    http://msdn.microsoft.com/en-in/library/ff798382.aspx.
     you can use the Update-SPUserSolution command
    in Windows PowerShell to upgrade your solutions. However, this requires access to the server environment, which is not necessarily available to sandboxed solution developers or site collection administrators.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Update content type template for existing sites in sharepoint 2010 ?

    Hi,
    I created one custom document library (list definition) and associated 3 content types which has docment template path (\_layouts.template1.docx). I rollout nearly 200 sites with this definition. now i want to update my document template and also i want
    to change template docx to dotx.
    what is the best approach to apply these changes for existing sites ?
    Thanks,
    Surya.
    suryakumarp

    Hi suryakumar,
    As I understand, you want to update the template 
    for existed content type.
    It can be achieved by programming. There is a
    SPContentType.DocumentTemplateUrl Property, which can be used to update content type.
    Here is a demo:
    http://officepoint.blogspot.com/2008/06/sharepoint-relink-infopath-forms-relink.html

  • How to change content type from Document set to Item

    While creating content type I've selected Item as a parent but after created I can see its showing Document Set as a parent content type. Now can anyone please suggest if possible I can change the parent content type from Document Set to Item.

    Hi,
    From your description, I know you want to change content type’s parent after creating it.
    There is no OOB method to change content type’s parent after you create it. If current content type has not been used, you could delete it and recreate it with your desired base type. Here are similar cases:
    http://sharepoint.stackexchange.com/questions/16131/change-base-content-type-of-content-type
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b976f17e-99b5-42bb-bc82-8d4123a625cf/change-the-parent-of-a-content-type.
    This article may help you understand the relationship of Content type inheritance:
    https://support.office.com/en-au/article/Create-and-edit-content-types-3d5d45af-608d-4183-8d51-073095fe0312#__toc239159103.
    Best Regards
    Vincent Han
    TechNet Community Support

  • Hide content type from the new menu but show in edit form

    SharePoint Online, I have following 4 site content types Word Document Excel document PowerPoint document General document
    These content types are being used in a document library and "Word Document" is the default content type, When user clicks on "new" menu, all 4 content types are shown.
    I don't want to show "General document" in the new menu but I want to show in edit form, I have marked it hidden in the library settings but now it is not visible in the edit form.
    Any idea how can I hide content type from the new button but show in edit form?

    Hi,
    Whether you use SharePoint online 2013.
    If we hide the content type in the library settings, the content type will not be displayed in both new menu and edit form.
    To accomplish your qequirement, we need to use css code:
    style <style type="text/css">
    ul.ms-cui-menusection-items32 li:nth-child(4) {
    display: none !important;
    </style>
    perhaps your environment is different with mine, you need to make a little change to the code. 
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have
    feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • How to update content types enheriting from the System Page Content type

    After importing a design package I found out that my content types was missing some columns. I could add the missing columns to my "page" and "Article Page" site content type. When adding the exisiting columns I could choose to update
    everything that inherits from this type:
    This is working. However I still miss 2 columns in the "Page" Content type:
    1. Rollup Image
    2. Hide physical URLs from search
    If I roll back my dev environment I can see that these are inherited from the "System Page" content type which is not editable. The columns are in the "System Page" content type but They are gone in "Page" content type that
    should inherit the columns.
    So how do I update these?
    Thanks

    Hi Alex,
    Thank you for replying. I totally agree with you regarding not to modify the OOB content types. The content types I have created/modified is also my own "new" content types.
    However the designpackage import messed up the OOB content types somehow so I'm only trying to get back to the state before the import. The only thing I see is still missing is the two previously mentioned columns in the "page" content type.
    Do you have any other suggestions in how to get back to the "OOB State"?
    Thank you
    Update: this is my page content type. It's not set to read only so it should update the last two missing columns from its parent (system page content type) right?

  • Updating Content Type Failed

    I'm fairly new to Sharepoint and Infopath.  I hope someone here can help me.   
    I have a large Infopath form with ~90 fields on it.  When I try to publich to the server, I get "Updating [or Creating] Content Type Failed".
    I determined this to be due to the number of fields and some sort of time out issue with Infopath.  I have seen a few other posts on that and the only solution I've seen is to publish with fewer fields - that does indeed work, but it doesn't solve my problem as I need all of these fields.  
    I've also seen a solution to publish with fewer fileds successfully and then republish with all you need and that the "Failed" message won't matter.  Kinda true, but then I have an issue with it no longer opening in browser.
    So then, I tried publishing it to my desktop and uploading it through Central Admin, activating it to a site collection, and using it that way.  That actually works the best so far, but then I get no option to select my Parent Content Type - it just picks "Form" - and that also doesn't work for me.  I need to select Parent Content Type
    Then, I tried to Create a new CT from scratch and point it to the form template I recently uploaded.  I get to pick my parent and all, but none of the promoted properties are there, so they don't show up in my workflow, and that's the end of that route.
    Now, I am out of ideas (but you can't say I didn't try)
    Anyone out there have any suggestions that could help me?
    Thanks

    We were running into a similar issue where ~90% of the time the publication of a complex InfoPath form would fail. It looks like a timeout issue with the webservice, but it's hard to say. We came up with a different approach that seems to have solved the problem for us. I just posted details on my blog (http://acuffgroup.com/2009/01/21/tip-for-publishing-infopath-form-to-sharepoint-library/) but the summary is: don't have InfoPath re-create the columns on each publish event. Rather have it connect to existing columns, which you can specify in the publishing wizard. This change fixed our issue and looks like it's going to save us a lot of time moving forward. Check out the post and leave a comment if this helps, or if you've got other insights you can add.

  • ISO help using SharePoint Designer 2010 to create an External Content Types from a table that has many columns

    I am trying to create an external content type for a specific list. The problem is that there are so many columns (more than 200) that I get the error:
    The operation(s) generation creates an SQL query which exceeds the length limit in Business Data
    Connectivity Metadata Store. The operation(s) will not be generated. Recreate
    the operation(s) with less number of columns in the configuration.
    I tried turning off a dozen columns and I am still getting this error. I am nearing the limit of the "extra" columns I can eliminate.
    What is the actual limit on number of columns?
    Thank you.

    Hi,
    From my research, it seems to be the limitation in response TTL and response size. To confirm
    it, would you please check the detailed errors logged in ULS log? <o:p></o:p>
    If you identified the threshold has be reached, you may follow this link to increase
    the threshold according to your business requirement.<o:p></o:p>
    http://blogs.msdn.com/b/bcs/archive/2010/02/16/bcs-powershell-introduction-and-throttle-management.aspx
    Miles LI TechNet Community Support

  • Update content type in list not working

    My list content type is not getting updated.
    I have a content type defined in a feature. I have created a new column and updated the feature definition and reactivated the feature.  I have also written powershell to check and update the content type with the new column.  The content type
    gets updated but not at the list level.  The powershell looks like this:
    Function UpdateContentType($contentType, $fieldLink)
    if ($contentType.FieldLinks[$fieldLink.Name] -eq $null)
    Write-Host Adding Field to content type
    $contentType.FieldLinks.Add($fieldLink)
    $contentType.Update($true)
    I thought the Update method was supposed to push the changes down, but it doesn't seem to be working.  This code does work in a different environment so I'm not what is going on.
    Caroline

    You will need to updated the list also, after updating the content type
    This is sample code how you update list which is using the Content Type.
    IList<SPContentTypeUsage> usage = SPContentTypeUsage.GetUsages(newsCT);
    foreach (SPContentTypeUsage item in usage)
    if (item.IsUrlToList)
    SPList list = rootWeb.GetList(item.Url);
    if (!list.Fields.ContainsField(firstName.InternalName))
    list.Fields.Add(firstName);
    list.Update();
    more information you can check at this link
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How to change content/type from applicaiton/xml to text/xml??

    Hi B2B Gurus,
    Now that i have worked out file transfer. I was now trying to post the same document onto a HTTP URL.
    I see in the headers that the
    Content-Type=application/XML
    However i need the Content-Type to be text/XML
    Where can i get this changed?
    Edited by: user773213 on Apr 8, 2009 4:48 AM

    i tried it but it still shows the same content-type
    ***************************B2B.LOG************************************************
    2009.04.08 at 18:45:29:500: Thread-10: Repository - (INFORMATION) BIND VARS = (5B7A966871774858A1C935F4ADEECA85-95-1, 95, 1, N, http://ap604fin.us.oracle.com:7787/HTTPService/Receiver, <0AB05E5912085DE6D600000082D60500@AS2_Mycompany>, null, null, , Processing, oracle.tip.repos.core.driver.BinaryImpl@10bbd42, , null, , oracle.tip.repos.core.driver.BinaryImpl@1b6772a, null, null, null, HTTP, , 1.0, Wed Apr 08 18:45:29 GMT+05:30 2009, , Message-ID=<0AB05E5912085DE6D600000082D60500@AS2_Mycompany>
    Content-Transfer-Encoding=binary
    MIME-version=1.0
    From=AS2_Mycompany
    Receipt-Delivery-Option=file://localhost/ORACLE_HOME\MyCompany
    Disposition-Notification-To=[email protected]
    AS2-To=AS2_Supplier1
    User-Agent=AS2 Server
    Date=Wed, 08 Apr 2009 13:15:17 GMT
    AS2-Version=1.1
    AS2-From=AS2_Mycompany
    Content-Type=application/XML; name=ShipOrder
    Connection=close
    , null, 0AB05E5912085DE72520000082D60600, null, 3C4DF09FF3304FA698C287DA35154FDB, 826050DF70374FF389E372DB6D126D46)
    2009.04.08 at 18:45:29:906: Thread-10: Repository - (DEBUG) CatalogDriver.writeObjectList()
    ***********************************************************************************

  • Update list item with managed metadata field returns The security validation for this page is invalid

    Using SharePoint 2010 Server
    I'm attempting to programtically update a managed metadata field in a document library. I'm able to do it without issue on all other non-managed metadata fields. When I attempt it on a MM field I get the error message
    "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again."
    After some digging I realised that this error was being caused because SharePoint was trying to write to the TaxonomyHiddenList list (../sites/mysite/Lists/TaxonomyHiddenList/AllItems.aspx)
    When I update a document through the browser with a term (Term01), it shows up in this TaxonomyHiddenList . I can then run my application, apply Term01 to my new document and it works fine. But if I apply Term02 to my new document it gives me the error above.
    Summary
    My app can read the TaxonomyHiddenList fine but it can not perform an operation that would write to it, resulting in not being able to update the MM field.
    Question
    Is there any advice on how I can further debug this issue?

    Hi,
    According to your post, my understanding is that you want to update managed metadata field in document library programmatically.
    I have made a simple code demo below to updata managed metadata field in document library, it works like a charm, you can refer to it.
    public static void UpdateMSField()
    using (SPSite site = new SPSite("http://YourSiteURL"))
    using (SPWeb web = site.OpenWeb())
    //SPList list = web.Lists.TryGetList("Libs_1");
    SPDocumentLibrary lib = (SPDocumentLibrary)web.Lists["Libs_1"];
    // No point in proceeding if we can't find the list
    if (lib != null)
    // add a new item
    // SPListItem item = list.AddItem();
    SPListItem item = lib.GetItemById(1);
    //Console.WriteLine(item.Name);
    // get the current taxonomy session, which wraps up all of the
    // associated TermStore objects for this SPSite object
    TaxonomySession metadataService = new TaxonomySession(site);
    // get the taxonomy field
    TaxonomyField taxField = item.Fields["MMS_1"] as TaxonomyField;
    // get the term store associated with the taxonomy field
    TermStore termStore = metadataService.TermStores[taxField.SspId];
    // get the actual term set associated with the taxonomy field
    TermSet termSet = termStore.GetTermSet(taxField.TermSetId);
    // search for the terms we wish to set the field to
    var terms = termSet.GetTerms("term_1", true, StringMatchOption.ExactMatch, 1, false);
    // if we have found a term populate the field
    if (terms.Count > 0)
    // set the field to the term(s) we have found
    taxField.SetFieldValue(item, terms.First());
    // Update the item
    item.Update();
    Console.WriteLine("success...");
    More reference:
    http://www.3guysonsharepoint.com/?p=1052
    http://vineet-winit.blogspot.com/2013/04/how-to-update-managed-metadata-field-in.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • New Forms with Content Types copies all form fields.

    I'm using the "NEW" button to create a form based on a Content Type.  I know how this worked in the past and I can attach to the right content type and everything.
    My problem is that the form generated is wrong.  It doesn't take the Content Type selected into account.  Instead it just displays everything in the form.
    Anyone else have this issue?
    David Jenkins

    Hi David,
    We need more information to reproduce this issue, could you provide the steps how you did the form based on a content type? 
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • Can I list other metadata fields in the Project window?

    I would like to add some columns of metadata in the project list view, such as the custom field that I created on ingest, or the Description field. This doesn't seem possible but I can't imagine why not. The main reason is so that I can scan a list view of the files and spot the items that have a specific piece of metadata (e.g. comment: "good take")
    Thanks.
    Scott

    A disclosure triangle could be useful in and of itself, but not what I'm referring to. I would like to know more about how the disclosure triangle would work, but my concern is that I would not be able to scan multiple files for progress (the main reason for a list view IMO) without twirling open each one individually.
    Here is a better explanation of my issue. See the two attached screen shots comparing FCP's Log and Transfer to Prelude.
    One of my current clients who I am assisting in their transition to Premiere, uses Log and Transfer to log reel name, clip name, and log notes for each. As they do it, they can see the results along the way so that the assistant editor/intern can see their progress and the producers can scan the results. In Prelude, there is no real parallel to this (perhaps by design, and perhaps there is a better method in the end). But, as compared to their current workflow, there's no way to scan the results as they do this work. Never mind the fact that there are no thumbnails (an item for a separate post). Note also that the method for adding log notes in Prelude is not intuitive (for example - editing the clip "Name" field using Dublin Core "Title" = not intuitive, particularly when the "Name" field is shown in the metadata panel, but not editable - likely because it is the filename not the clip name, but still a bit confusing). And, also for another topic, there is no easy way to pass through this data to Premiere for clip-level comments (e.g. "log note") and ideally export to a spreadsheet to hand off to an editor.
    This could be partially addressed simply by mimicking the Log and Transfer behavior and allowing me to add a column populated by the Metadata field of my choice (and rearrange them and edit directly) to the Project panel.

  • Upload documents to DMS content server from other tcodes like MIRO

    Hi Experts,
    How can I upload my document to DMS content server through transactions like MIRO.

    Hi Sunil,
    You can't uplaod from different t-code, you need to upload it thru CV01n only. One exception is there which is BDC t-code SHDB for batch uploading. But from other t-code you can't uplaod a document into SAP DMS content server.
    One another option is create a z-tcode for the same. i.e. for MIRO create ZMIRO.
    In statndard environment you can attache but it will not saved in content server. Only thru CV01n it can be done.
    I hope this will resolve the query.
    Regards,
    Ravindra

Maybe you are looking for