Quantcast
Viewing all articles
Browse latest Browse all 2504

ROQL Where in clause with CustomFields (2 Comments)

Topic by Brian Duke

Content

We have tested every known way to use the QueryObject.Query() method to "SELECT Contact FROM Contact WHERE c$guid IN 'SomeGuidNumber', 'SomeOtherGuid';" however, this query fails. The failure ends like something like 'IN-Based sub-queries are not permitted". If we use "SELECT Contact FROM Contact WHERE c$guid IN ('SomeGuidNumber', 'SomeOtherGuid');" We get "Error in the query object".  The "IN" clause does work with named columns like "Select Contact from Contact where Contact.Name.First IN ('BRAD','MARY') LIMIT 10;  Returns maybe 10 objects. Why can we do this with named objects but not with CustomFields ? And our <CustomField name="c$guid"> really.

  

Version

urn:messages.ws.rightnow.com/v1.1

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles