InfoPath form services and SPWorkflowTaskProperties.ExtendedProperties - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

InfoPath form services and SPWorkflowTaskProperties.ExtendedProperties

Last post 04-04-2011 03:29 AM by MarcusF. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-04-2011 08:07 AM

    InfoPath form services and SPWorkflowTaskProperties.ExtendedProperties

    Hi I am modifying an existing SharePoint 2007 workflow. The workflow has an approval form created in InfoPath 2007. The form has various comment fields. I have added a dropdown box. The user must select a value from the dropdown box when they fill out the approval form. In the code behind the workflow, I would expect the ExtendedProperties collection of the SPWorkflowTaskProperties to include an item containing the value from the dropdown box, but it does not. As part of the modification of the InfoPath form, I edited the ItemMetadata.xml file that is used as a secondary data source, to include an extra attribute ows_mydropdown="". In the form, the dropdown appears correctly bound to an element in the main data source. I must have missed out an essential step here... any ideas?
  • 04-04-2011 03:29 AM In reply to

    Re: InfoPath form services and SPWorkflowTaskProperties.ExtendedProperties

    I solved it! The *name* of the data connection must be ItemMetadata.xml as well as the *file name* being ItemMetadata.xml.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.