I apologize if this is a redundant question. I've read several other posts on this subject, but I still can't quite find one that fits my scenario or make any of the solutions work for me.
I have a drop down in my form which gets its values from a list on the sharepoint. The data is essentiall a flat data source with two columns; Category and Commodity. What I would like to implement is a cascading drop down so that the user chooses a Category and then the specific commodity for the category. My issue is, that I can't seem to get the Category drop down to show only unique values.
I have a "receive" data connection to the list so that it is a secondary data source in the form.
I go to the properties of the drop down box and select "Look up values in a data connection to a database, Web service, file, or SharePoint library or list.
I select the data connection and click on the xpath next to entries.
I expand the "dataFields" under myFields so that the List name and fields show.
I've tried applying the filter at both the List Name level and at the specific field. Neither seems to work.
I've tried using just "not(.=../preceding::my:group2/my:field2)" and a few other variations but either I still get the repeating values or I get nothing.
I'd really appreciate some help on this as I am stumped.