Quantcast
Viewing all articles
Browse latest Browse all 2504

ROQL Object Query WITHOUT Template (3 Comments)

Topic by Steve Flynn

In the Connect documentation for QueryResultsData[] it states:

"If no object template is supplied for a particular object type, the default is used. The default template does not contain sub-objects or names for NamedID fields."

How do I call QueryResultsData without an object template? e.g. if I just want to return a few incident objects, how can I call QueryResultsData so that it uses the the so-called 'default' template? As it stands, I have to set up a template which causes QueryResultsData to throw an 'Object reference not set to an instance of an object' error, because some part of the object I'm supplying is not instantiated.  

 


Viewing all articles
Browse latest Browse all 2504

Trending Articles