Friday, July 15, 2016

Select * from SOQL in Salesforce

Select * from SOQL in Salesforce

Most of us come across challenges to run "Select * from SOQL". The following visualforce code snippet will let you run "Select * from SOQL".

You can get access to this page by installing this un-managed package to your salesforce org:
https://login.salesforce.com/packaging/installPackage.apexp?p0=04t61000000gURQ

*** Outstanding/Known Issues/Workaround:
  • Select * from SOQL works fine for custom objects or objects with fewer fields
  • You could run Select * from SOQL for any standard object and you could get list of fields and then break down the select query string and run the SOQL and then merge the result.

No comments:

Post a Comment