Adding field to form & XML Library - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Adding field to form & XML Library

Last post 10-28-2025 08:52 AM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-23-2025 09:20 AM

    Adding field to form & XML Library

    I have an XML Library & a form defined for it. I want to add a field to that form and have it show up as a column in the XML library that it posts to. What is the proper sequence of adding it to the form, the library, and the list of promoted properties (or what to use instead of promoted properties) so that the submitted value is displayed in both the form & in the library (and, presumably, be available to access from a Power Automate flow)?
  • 10-23-2025 11:44 AM In reply to

    Re: Adding field to form & XML Library

    Are you using FormsDesigner for this? Or InfoPath? I would use a promoted property for this. The field gets added to the form first. Then, in InfoPath, if you walk through the publishing wizard (i.e., don't use quick publish) you have the opportunity to add the new field as a promoted property in your library. If you are using FormsViewer, you can add your form fields as promoted properties and modify the form publish location under the "publish" tab. Please let me know if you need additional information! EDITED TO ADD: I see now this is in the FormsViewer forum, so I'll assume you are using FormsViewer :-) Feel free to reach out if you want to schedule a call for a quick walk-through!
    Hilary Stoupa

  • 10-28-2025 06:54 AM In reply to

    Re: Adding field to form & XML Library

    That was very helpful (that may sound sarcastic, but it absolutely is not), but leads to a follow up: Fields that were added to the library by FormsViewer (via promoted properties) are readable from a Power Automate flow, but don't show up in the list of fields that can be updated. Is there a way to address this?
  • 10-28-2025 08:42 AM In reply to

    Re: Adding field to form & XML Library

    There is a PATCH HTTP call to SharePoint that sets the ReadOnly-ness of a specified field; this was enough not only to be able to edit properties of the field, but also make it accessible for update via Power Automate. Not the most straight-forward solution, but I've endured much nastier work-arounds.
  • 10-28-2025 08:52 AM In reply to

    Re: Adding field to form & XML Library

    Oh cool. So in InfoPath designer, we had the option to "demote" a property which would make it writable in the library. We do not have that in FormsDesigner yet, so changing read-only on the field is a great idea.
    Hilary Stoupa

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