To enable passing filtering attributes via code while embedding the visualisations
User case:
let's say we have 10 graphs & we have enabled them via embedding into our web UI. Now, whenever user logins into web UI, I want to load all these graphs but I want to filter those using user_sso email.
Is it possible to achieve this now? Or can we include this feature?
Comments
-
check this out https://blogs.oracle.com/analytics/post/embedding-oracle-analytics-dynamically-part-i .
Through JS you can tweak filter values .. i believe this could get you what you need.
Cheers
Jacques
0 -
If you want to filter based on user level data security, please consider row level security configured via a semantic layer (https://docs.oracle.com/en/cloud/paas/analytics-cloud/acmdg/work-row-level-security.html) so when a user logs in, they only see the data they are entitled to see. Don't use the filters available when embedded for data security as they could be changed in the browser tools / javascript (even though the top level filter can be hidden when embedded, for convenience, it's possible to unhide it).
If this isn't for data security purposes, the link from Jacques describes the filtering mechanism for embedded content and here is the doc link: https://docs.oracle.com/en/cloud/paas/analytics-cloud/acubi/embed-javascript-embedding-framework.html#GUID-DD102F44-83A5-44FA-A365-4A9D0D73C024
0