Introduction
In this article, let’s look at the structure of a Dashboard App URL, and features we can use to direct users to different Dashboard Apps and submissions. Furthermore, we’ll briefly look at System Variables to assist in redirects.
Structure
http://localhost:8888/?page=app&appid=1&authid=1&subid=-1&mode=c&contextid=1
-
Host name
-
Port number
-
Application ID
- A number assigned to each Application database when added to Kepion through the System Module.
-
Authorization ID
- A number assigned to each Dashboard App in an Application when added through the Administrator Module.
-
Submission ID
- A number assigned to each submission for a given Dashboard App. Set this to -1 to always access the first saved submission for a user.
-
Access Mode
-
The role the user has been configured for through the Administrator Module.
- c – Contributor
- r – Reviewer
- a – Approver
-
-
Context ID
- An optional value to specify which Dashboard page and Filters to select by default. See this article for more information.
System Variables
Kepion also features System Variables which can be utilized the same way as other Standard Variables. The key difference being that System Variables will always resolve to the system-defined term, even if overridden with a user-defined variable.
These variables are:
Variable | Definition |
---|---|
${user} | The user currently logged in |
${plan} | The plan name |
${submission} | The submission name |
${subid} | The submission ID |
${page} | The current dashboard page context |
${app} | The relative path to the HTML5 version of Kepion. |
${app-no-splash} | The same as the above, but without the Kepion splash page. |
Tip: Learn more about System Variables in this article.
Likewise, the table below demonstrates what the final URL will look like depending on which environment the App is currently in.
http://localhost:8888/${app-page}&app...
Similarly, the variable ${app-page-no-splash} functions in the same way; however it doesn’t load the splash page. Unless a link must reference a specific version directly, it’s considered best practice in Kepion to always format URLs with these variables. In addition, it’s often preferred to remove the splash page when switching between Apps in this context.