Category / Section
Can I Filter or Authenticate a User Prior to Rendering the Dashboard
Published:
In JavaScript-based embedding, you can pass the URL and Dashboard Parameters filters with the authorization endpoint using the embed_datasource_filter parameter. This article provides a guide on how to apply these filters.
Applying Filters in the Authorization Endpoint
The following example C# samples demonstrate how to authorize the user while embedding. Along with authorization, we can pass filters to the embed_datasource_filter parameter in the authorization endpoint. Note that the code may vary depending on your platform language.
In this example, &Department=IT (URL parameters) are set to the embed_datasource_filter property in the endpoint.
Note: For Dashboard parameters, the parameter filters must be started with a
&&
in a similar manner.