Like what you see? Have a play with our trial version.

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:

  1. As part of a URL
  2. As part of a SSO call

Passing Session Options via URL

Pass session options through a URL. For example:

http://<yellowfin-server>/logon.i4?LoginWebserviceId=<token>&disableheader=true&entry=TIMELINE

By including entry=TIMELINE and the disableheader session options in the above URL, the user will be taken to their Timeline page with the Yellowfin header 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.

For example:

String[] parameters = new String[] {"ENTRY=TIMELINE","DISABLEHEADER=TRUE"};

rsr.setParameters(parameters);

Similarly, this example will disable the Yellowfin header, and redirect the user to their 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 KeyURL KeyPassed viaDescription

YFTOOLBAR

yftoolbar

URL, SSO

TRUE/FALSE. To hide the Yellowfin toolbar for this session.

ENTRY

entry

URL, SSO

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:

  • DASHBOARD
  • REPORTLIST
  • BROWSE
  • BROWSETAB
  • CREATEREPORT
  • EDITREPORT
  • VIEWREPORT
  • VIEWSTORY
  • ADMINISTRATION
  • EDITDASHBOARD
  • VIEWDASHBOARD
  • VIEWSTORYBOARD
  • TIMELINE
  • SIGNAL
  • VIEWSIGNAL

REPORTID

reportid

URL, SSO

Used with ENTRY = EDITREPORT or VIEWREPORT. This is the internal ID of the report to redirect to.

REPORTUUID

reportuuid

URL, SSO

Used with ENTRY = EDITREPORT or VIEWREPORT. This is the UUID of the report to redirect to.

STORYBOARDUUID

storyboarduuid

URL, SSO

Used with ENTRY = VIEWSTORYBOARD. This is the UUID of the storyboard to redirect to.

CONTENTUUIDcontentuuidURL, SSO

This is the internal UUID of the Yellowfin content that you wish to be redirected to, which could be an internal Story or a Signal. This can be used with ENTRY = VIEWSTORY or VIEWSIGNAL.

MOBILEDEVICE

mobiledevice

URL, SSO

TRUE/FALSE. Takes the user to a mobile version of the Yellowfin interface.

REPORTNAME

reportname

URL, SSO

Used with ENTRY = EDITREPORT or VIEWREPORT. This is the name of the report to redirect to.

DISABLESOURCEFILTERS

SSO

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.

DISABLEHEADER

disableheader

URL, SSO

TRUE/FALSE. Hides the Yellowfin header for this session.

HIDEHEADER

hideheader

URL, SSO

Same as DISABLEHEADER.

DISABLEFOOTER

disablefooter

URL, SSO

TRUE/FALSE. Hides the Yellowfin footer for this session.

HIDEFOOTER

hidefooter

URL, SSO

Same as DISABLEFOOTER.

DISABLESIDENAV

disablesidenav

URL, SSO

TRUE/FALSE. Hides the Yellowfin side navigation for this session.

HIDESIDENAV

hidesidenav

URL, SSO

Same as DISABLESIDENAV.

DISABLELOGOFF

disablelogoff

URL, SSO

TRUE/FALSE. Hides the Yellowfin logoff link for this session.

HIDELOGOFF

hidelogoff

URL, SSO

Same as DISABLELOGOFF.

REASONCODE

reasoncode

URL, SSO

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.
When logging into the JS API using SSO, the JS API can use/ignore this option.

REASONDESCRIPTION

reasondescription

URL, SSO

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.
When logging into the JS API using SSO, the JS API can use/ignore this option.

DASHBOARDID

dashboardid

URL, SSO

Used with ENTRY = EDITDASHBOARD or VIEWDASHBOARD. This is the internal ID of the dashboard tab to redirect to.

DASHBOARDUUID

dashboarduuid

URL, SSO

Used with ENTRY = EDITDASHBOARD or VIEWDASHBOARD. This is the UUID of the dashboard tab to redirect to.

FILTER<ID>

filter<ID>

URL, SSO

Used with ENTRY = VIEWREPORT. Overrides filter values for the given report. FILTER is appended to the internal ID of the filter, plus the string representation of the filter value. For example:

FILTER2134=MALE

You can pass multiple filters for a single report.

SOURCEFILTER_<FILTERCODE>

SSO

Overrides the source filter values for this user, for this session.
SOURCEFILTER_ is appended with the Filter Type Code from the Source Filter setup page, plus the value you wish to give access to. For example:
SOURCEFILTER_COUNTRY=AU
You can pass multiple source filter values for the one session.
When logging into the JS API using SSO, the JS API can use/ignore this option.

CONTENT_<INCLUDE/EXCLUDE>

SSO

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.

  • If you choose to INCLUDE content, then these will be the only Content Categories that the user will have access to.
  • If you choose to EXCLUDE content, then these excluded Content Categories will be removed from the content that the user normally has access to.

Content Inclusion and Exclusion is based on the Category level. All sub categories with the specified category are included or excluded.
An example of including/excluding with category codes and UUIDs:
CONTENT_INCLUDE=TUTORIAL
CONTENT_INCLUDE=c83357db-8aef-4ec7-ab72-fce34de9ee77
CONTENT_EXCLUDE=TUTORIAL
CONTENT_EXCLUDE=c83357db-8aef-4ec7-ab72-fce34de9ee77
It is not logical to use both INCLUDE and EXCLUDE for the same session.
When logging into the JS API using SSO, the JS API can use/ignore this option.

LANGUAGE=<LANGUAGE_CODE>

SSO

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.

USERNAME

SSO

Overrides the Username field of a user for this particular session (used for Pass-through Authentication).

PASSWORD

SSO

Overrides the password field of a user for this particular session (used for Pass-through Authentication).

FIRSTNAME

SSO

Overrides the First name field of the user displayed in the UI (used when using a shared login to customize information on the header).

LASTNAME

SSO

Overrides the Surname field of the user displayed in the UI (used when using a shared login to customize information on the header).

EMAIL

SSO

Overrides the Email field of the user for this session (used when using a shared login).

TIMEZONE

SSO

Override the Timezone field of the user for this session.

VIEWIDviewid

URL, SSO

Used with entry CREATEREPORT

VIEWUUIDviewuuid

URL, SSO

Used with entry CREATEREPORT


  • No labels