Description Usage Arguments Note
This function will generate a syntactically valid FetchXML for simple "SELECT" statements. If more complex ordering, filtering, etc. is needed, then the user should specify an exact FetchXML string.
1 | generate_fetchxml(entity_name, attributes, all_attributes, page_size, top)
|
entity_name |
character; the name of one MS Dynamics CRM entity that the function is operating against (e.g. "Account", "Contact", "CustomObject__c") |
attributes |
character; one or more strings indicating attributes |
all_attributes |
logical; an indicator if all possible attributes should be returned
for the entity. If |
page_size |
numeric; a number indicating the records per page that are returned. This is provided for performance improvements for queries returning a large number of records. |
top |
numeric; a number indicating the first N number of records that should be returned by the query. This behavior is similar to the LIMIT or TOP keyword in SQL. |
This function is meant to be used internally. Only use when debugging.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.