Perform Bulk Actions on Multiple Salesforce Records from Analytics
- Analytics passes the SAQL query used to populate the table widget to the Visualforce page. Note TheSAQL query that Analytics passesusually contains a limit. To return more results, modify the limit statement in the SAQL query.
- You write custom Visualforce and, if needed, Apex code to extract the SAQLquery.Tip When issuing an Analytics APIrequest for the SAQL query, if most of your logic is in Javascript on theclient side, then you should use AJAX from Javascript. If most of your logicis in Apex, then use HTTP from your Apex class.
- Your code executes the SAQL query against the Analytics Query API.
- The Analytics API returns the results of the query—dataset rows—to the Visualforce page.
- You write more custom code that performs actions on the returned dataset rows. For example, you can perform a bulk edit, bulk create, or integrate with third party.