D
D Myers
I am using the SDK to query Product Studio data within my InfoPath form. I
need to populate a dropdown list with the results. What is the best way to
accomplish this? Currently, I am unsuccessfully attempting to create a plain
list with a repeating field. I run through the entire set of items but only
the last one exists and no repeat fields are created. Here is the code chunk
that I am using to populate the repeat field:
For Each objItem in objItems
XDocument.DOM.selectSingleNode("//my:myFields/my:group1/my:field5").text =
objItem.Fields("ID") & " - " & objItem.Fields("Title")
Next
I have set the data source for my dropdown to field5. This works. However,
I do not want the repeating field to be visible and hiding it doesn't seem to
be an option. Is there a way to hide the field, or is there a better
approach to this problem?
Thank you.
need to populate a dropdown list with the results. What is the best way to
accomplish this? Currently, I am unsuccessfully attempting to create a plain
list with a repeating field. I run through the entire set of items but only
the last one exists and no repeat fields are created. Here is the code chunk
that I am using to populate the repeat field:
For Each objItem in objItems
XDocument.DOM.selectSingleNode("//my:myFields/my:group1/my:field5").text =
objItem.Fields("ID") & " - " & objItem.Fields("Title")
Next
I have set the data source for my dropdown to field5. This works. However,
I do not want the repeating field to be visible and hiding it doesn't seem to
be an option. Is there a way to hide the field, or is there a better
approach to this problem?
Thank you.