I'm trying to query a sharepoint list that contains lookup columns and taxonomyfields. When I use the $expand option I can't expand taxonomyfields, but when I use a camlquery i can't expand lookup fields..
Any solution?
I'm trying to query a sharepoint list that contains lookup columns and taxonomyfields. When I use the $expand option I can't expand taxonomyfields, but when I use a camlquery i can't expand lookup fields..
Any solution?
You can't use $expand
in conjunction with a CAML query. You'll either have to construct the your filter conditions using $filter
or you will have to have another operation that performs the action of getting your complex properties.
I'm not sure exactly what your attempting to do, but it might be ideal to create a pick list data context that use for the complex properties to be bound to in the UI.