-
Notifications
You must be signed in to change notification settings - Fork 1
Perform SAQL query from file against Org and display results #116
Description
Is your feature request related to a problem? Please describe.
We're doing Analytics implementations for enterprise clients that mostly involve us creating huge calculations (>3.000 lines of SAQL is the standard) to return KPIs. Our only option is to write those queries in the Salesforce Analytics UI which in our mind is not suited for such complex queries and make it very hard to extend and maintain them.
Describe the solution you'd like
The REST API allows to perform queries against datasets and have the response contain the result table. A prefered way of extending the Extension would be the ability to write SAQL code in VSCode, define a query.json that contains readable names for datasets to be queried against, have the ability to send the query and have the result displayed as a simple table.
Components:
- define a JSON definition for datasets to be used / loaded, that can be referenced in the file containing SAQL code
"datasets":
[
{
"name": "Test1",
"containerId": "xyz",
"versionId": "123"
},
{
"name": "Test2",
"containerId": "446",
"versionId": "aer"
},
]
- Used in SAQL code as $Test1 in load statements (or similar ways of referencing)
- Button / command to use JSON + written SAQL and have it performed against the connected Salesforce Org, therefor using dataset definitions before submitting API call
- Display of JSON response transformed to table (or error message on errors)
Describe alternatives you've considered
- writing SAQL and then manually creating the API payload + call in Postman / Workbench
- Chrome Extension EADashboardHelper
I would love to hear your feedback on this feature, why it is not available or ways to achieve this. Especially for projects like ours at enterprise clients with complex and huge calculations the current way of writing this is not performing well or limits our abilities to work on Analytics in a proper development way.
Thank you!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status