Changing promoted fields does not update the content type of the document library - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Changing promoted fields does not update the content type of the document library

Last post 01-27-2011 08:58 AM by barberj. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-26-2011 02:00 AM

    Changing promoted fields does not update the content type of the document library

     If I rename a field or add a field and then publish the form again to SharePoint, those changes are not reflected in the document library's columns.

    In the past, I have got round the problem by scrapping the document library and creating a new one.

    This is obviously not practical once a form is live and in use.

     I have tried deleting and re-adding the content type

  • 01-26-2011 06:29 AM In reply to

    Re: Changing promoted fields does not update the content type of the document library

     I now have repeated columns in the document library after creating a completely new document library. Brilliant.

  • 01-26-2011 09:45 AM In reply to

    Re: Changing promoted fields does not update the content type of the document library

    Hi:

    Do you mean that your new promoted properties don't show in the doc library's columns? Are you renaming form fields, or just the name for the promoted property?

    Hilary Stoupa

  • 01-26-2011 08:31 PM In reply to

    Re: Changing promoted fields does not update the content type of the document library

    This is a known issue with publish to SharePoint. InfoPath stores a GUID for each of the property columns in the manifest.xsf. If you aren't careful and save your XSN locally and then publish it to SharePoint, but forget to save the published version back locally and then go back to that locally saved version and republish it guess what? You'll get duplicated columns. Once you publish to SharePoint, just make sure to Edit the Template from SharePoint and you won't have this problem.

    Patrick Halstead
    Project Manager at Qdabra
  • 01-27-2011 03:50 AM In reply to

    Re: Changing promoted fields does not update the content type of the document library

    Thanks for the tip.

    To add to that,  when deleting a content type, all it's column fields are retained in the document library and cannot be deleted.

    When I figure out the correct order of updating the fields, I will post it here!

    I think some of the problems I was having previously where that I was using reserved fields for Approve Date, Approver Name, etc.

  • 01-27-2011 08:58 AM In reply to

    Re: Changing promoted fields does not update the content type of the document library

    These steps are for InfoPath 2007 to SharePoint Server 2007

    1. Publish form to a document library (untick Enable form to be filled in by a browser)
    2. Create a *new* document library
    3. Promote the required columns
    4. Configure and data connections which submit forms to point to the new document library
    5. Publish the form again, this time tick "Enable form to be filled in by a browser"
    6. Get the server admin to upload the form template and activate it to the correct site collection
    7. Alter the advanced settings of the document library to allow managment of content types and forms open in a web page.
    8. Add the new content type relating to the form uploaded to the server in step 6.
    9. Delete the old content type (usually called 'Form')

     

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.