Hi,
I have a requirement to display the folder structure of a document library within InfoPath and have the user select which folder in the document library the attached document(or attachment) should be uploaded it. I can get the folder structure using a custom or build in SharePoint Web service but what I don't know is how to display it in the Form.
The idea I have in my mind is to have the web service return nodes with ID and Parent ID like shown in the attached folder.txt file (ParentID will determine the parent folder of a given subfolder)
and some how display the above xml using repeating table/section with filters to display the folder hierarchy so the users can select folder where they want to upload the attachment.
For e.g. the first two in the repeating table's drop down box will display all the parent folders; upon selecting one of the parent folder and clicking a button will create the second row in the repeating table that will display sub-folders of the parent folder selected in the previous row and so on.
Any idea how to accomplish this?
Thanks
Ram