Get a list of Promoted fields in InfoPath code? - InfoPath Dev
in

InfoPath Dev

Get a list of Promoted fields in InfoPath code?

Last post 08-28-2009 11:44 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-27-2009 07:51 AM

    Get a list of Promoted fields in InfoPath code?

    Anyone know if it is possible to  Get a list of Promoted fields in InfoPath code?

    /bac
  • 08-28-2009 11:44 AM In reply to

    Re: Get a list of Promoted fields in InfoPath code?

    Hi --

    What version of InfoPath are you using?

    The promoted property information is stored in the manifest.xsf file. If you save your form as source files and open manifest.xsf with a text editor, you'll find them toward the bottom of the file:

    <xsf:listProperties>

        <xsf:fields>

            <xsf:field name="Job Name"....etc

    You can access the manifest.xsf in code. In C# for 2007, you can use this.Template.Manifest.

    Hilary Stoupa

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