Skip to main content
In the Embed URL Builder, this is the Model roles field.

Requirements

Model roles must be equal to or more permissive than the associated connection’s base access role. For example, if the connection has a base access role of RESTRICTED_QUERIER, it will override a model with a VIEWER role.

Syntax

modelRoles=<encoded_object>

Properties

modelRoles
object
An object containing model ID and role pairs, formatted as "<model_id>: <model_role>". Values must be one of:
  • RESTRICTED_QUERIER - Can create new content and view workbooks and dashboards based on the specified model
  • VIEWER - Can only view dashboards based on the specified model
Example input: {"model-id-1":"RESTRICTED_QUERIER", "model-id-2":"VIEWER"}

Examples

The following example demonstrates what the URL encoded version of modelRoles={"65b10d2a-473b-4486-92c8-0ba628c7d1cb":"RESTRICTED_QUERIER"} would be:
Model with Restricted Querier role
modelRoles=%7B%2265b10d2a-473b-4486-92c8-0ba628c7d1cb%22%3A%22RESTRICTED_QUERIER%22%7D