This project has moved and is read-only. For the latest updates, please go here.

group by caml query option

Dec 23, 2015 at 3:16 PM
I noticed that there is a place for a CAML query in the code for the cascading dropdowns, is there a way to use the <group by> clause? When I add a CAML query, the cascading stops working, and my second drop down is already populated
Dec 23, 2015 at 3:30 PM
Nope. The SOAP services aren't aware of the GroupBy clause in a query. What are you trying to do with it?

Dec 23, 2015 at 4:54 PM
I found a work around for what i was trying to do. I was trying to eliminate the times showing multiple times in the drop down
Dec 23, 2015 at 6:02 PM
If you've got duplicates in your relationshipList, then it probably isn't set up correctly.

Dec 23, 2015 at 8:32 PM
it's setup correctly, its just a many - many relationship. I corrected it with using lists in a different way prior to using the SPServices code