Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

OData execution of a Quick Find savedquery

$
0
0

Hi all

I'm aware of the ability to execute a saved query/system view against an entity (GET [Organization URI]/api/data/v8.2/accounts?savedQuery=00000000-0000-0000-00aa-000010001002), but how do I add the search term if it's a Quick Find query? I know the FetchXML query has a value={0} element, but I can't pass in a "value" parameter - CRM errors saying "No Other Query options supported when SavedQuery or UserQuery or FetchXml option is provided".

Obviously the alternative is to just return the FetchXML, do the replacement of the {0}, and then execute that, but it seems inelegant compared to the ?savedQuery mechanism?

P.S. I'm doing this in JavaScript from a web resource, although I don't think that changes the question at all?

Thanks
James


Viewing all articles
Browse latest Browse all 79901


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>