You can perform different tasks when redirecting a user to Yellowfin, such as suppressing the header, navigating to a particular report, displaying a particular dashboard, etc. This is done by defining user session options in the login token.
Session options can be passed in two ways:
- As part of a URL
- As part of a SSO call
Passing Session Options via URL
Pass session options through a URL. For example:
With the inclusion of entry=TIMELINE, and disableheader options in the URL, the user will be taken to the Timeline page, and the Yellowfin header will be disabled, when they log in.
Passing Session Options as Part of a SSO Call
A Single Sign-On, or SSO, call (which includes LOGINUSER and LOGINUSERNOPASSWORD) can be used to pass sessions, by applying the setParameters() method.
Similarly, this example will disable the Yellowfin header, and the user will be redirected to the Timeline page.
Available Session Options
Below is a list of key session options and their descriptions that you can use to pass through URLs or the Parameters method:
|Parameter Key||URL Key||Description|
TRUE/FALSE. To hide the Yellowfin toolbar for this session.
Determine the user's only entry point on completion of the login process. This is used in conjunction with other parameters to determine the content the user is shown. Possible values include:
Used with ENTRY = EDITREPORT or VIEWREPORT. This is the internal ID of the report to redirect to.
Used with ENTRY = EDITREPORT or VIEWREPORT. This is the UUID of the report to redirect to.
Used with ENTRY = VIEWSTORYBOARD. This is the UUID of the storyboard to redirect to.
TRUE/FALSE. Takes the user to a mobile version of the Yellowfin interface.
Used with ENTRY = EDITREPORT or VIEWREPORT. This is the name of the report to redirect to.
TRUE/FALSE. Disables Source Filter or Client Reference Filters for this user, for this session. This allows the user to see all the data. This doesn't work for content based on Client Source Substitution.
TRUE/FALSE. Hides the Yellowfin header for this session.
Same as DISABLEHEADER.
TRUE/FALSE. Hides the Yellowfin footer for this session.
Same as DISABLEFOOTER.
TRUE/FALSE. Hides the Yellowfin side navigation for this session.
Same as DISABLESIDENAV.
TRUE/FALSE. Hides the Yellowfin logoff link for this session.
Same as DISABLELOGOFF.
Custom string (80 ASCII characters) that will be dropped in all events generated by this session. Events are dropped in the Event table in the Yellowfin database.
Custom string (2048 ASCII characters) that will be dropped in all events generated by this session. Events are dropped in the Event table in the Yellowfin database.
Used with ENTRY = EDITDASHBOARD or VIEWDASHBOARD. This is the internal ID of the dashboard tab to redirect to.
Used with ENTRY = EDITDASHBOARD or VIEWDASHBOARD. This is the UUID of the dashboard tab to redirect to.
Used with ENTRY = VIEWREPORT. Overrides filter values for the given report. FILTER is appended with the internal ID of the filter, plus the string representation of the filter value. For example:
Overrides the source filter values for this user, for this session.
Overrides the content access that a user has for this session.
CONTENT_ is appended with either INCLUDE or EXCLUDE. The value for this key is either the Content Category Code, or the Content Category UUID.
Content Inclusion and Exclusion is based on the Category level. All sub categories with the specified category are included or excluded.
Overrides the language of the user's session with the one specified in this parameter. Note that doing so will invalidate the default language or any translation settings configured in the browser.
For example, passing LANGUAGE=JA will force the session's language to be Japanese.