Open sashayar13 opened 2 weeks ago
Estimate based on using iFrame. May be more if another approach is needed.
@JoseAnaya28 can we pass query parameters to this sucker in the iframe?
@burnettk yeah, we can pass the parameters in the url something like this:
Pass specified parameter in query into URL such as url/?reg=North+America.
@JoseAnaya28 great, thanks, can we filter by user and period with query params (please see the first comment from sasha)?
@burnettk Yes, if we're able to pass the user or/and cc id and the period we should be good to filter the dashboards.
I think these are the next steps:
Is the prototype that Sasha mentioned usable for 3? It seems like it already passes a parameter in the iframe.
@JoseAnaya28 regarding the 3# - I need to update it slightly so that it has the data we need
There is a need to show the embedded Superset dashboard in the Spiff manual task, the dashboard should be pre-filtered by:
The user who starts the process in Spiff should see only the entries associated with their expenses for a selected period. (There is an existing Expense dashboard in Superset).
The prototype of the embedded report we created previously with the iframe https://dev.app.spiff.status.im/editor/process-models/misc:prototypes:embedded-superset-dashboard/files/embedded_superset_dashboard.bpmn - it doesn't send any info to the Superset.
@burnettk @jasquat can you pls advise on what needs to be configured in the process so that it can send the variables to Superset? Lalo @JoseAnaya28 will need to check from the Superset side
Sample of auth data (for Lalo @JoseAnaya28)