Question

can you query data using ODATA and filter to records in a specific folder (either Dynamic or Static)?

we've created folders for subset of contacts.  I want to pull those contacts via ODATA.  anyway to filter contacts using a specific folder?

 

I.e. create an ODATA filter like filter=folder eq "VIP Contacts"

Like 0

Like

1 comments

Dear Brian,

Instead of ContactCollection, you can use ContactInFolderCollection to retrieve the folder to which the user belongs. For example (GET ServiceModel/EntityDataService.svc/ContactCollection(guid'6f586c21-4b51-42c4-a370-deec97d28c12')/ContactInFolderCollectionByContact)



ContactFolder is the object that contains all folders in case you need to get the particular folder. 

Lisa

Show all comments