Folders Navigation Using URL

Last Updated: 12/03/2015 Introduced in Verision: 2.0

Decisions URL’s paths system were designed to provide user with powerful navigation control in the System between Folders, Flows, Rules, Pages, Reports, Forms and much more using wide variety of additional options like Security and View.

 

Folders

We can navigate between Decisions’ Folders using URLs.

First option is to open Folder using FolderId parameter as follow:

http://localhost/decisions/?FolderId=<folderId value here>

Example:

From Folder’s Actions menu we select Manage > Get Folder ID

getFolderID

In the resulting pop-up window we copy FolderId string to the clipboard.

copyFolderId

Next, we pass copied string into base url as value for FolderId key.

redirectUsingFolderId

And our browser opens the folder…

redirectedByFolderId

Second option is to open Folder by Path. We need to use FolderPath parameter:

http://localhost/decisions/?FolderPath=<folderPath goes here>

Example:

We type into our browser’s address bar:

 http://localhost/decisions/?FolderPath=Demo%20Projects

Mention that we are using “%20” for “space” character in the url string.

usingFolderPath

And our browser redirects us to our Demo Projects Folder.

usingFolderPathDone

Another way to navigate to the Folder is to use url tree like:

http://localhost/decisions/FolderName

Example:

We type into our browser’s address bar:

 http://localhost/decisions/Demo%20Projects

usingUrlTree

And our browser redirects us to our Demo Projects Folder.

Next, if Folder we want to open has several Pages we can specify which Page we want to open using parameters for our base url. First parameter should be either FolderId or FolderPath, and second should be PageName.

Example:

Our Cars folder has 2012 Fisker Karma subfolder. Alternate View Page was created for this subfolder.

We are getting this subfolder’s id and type into our browser’s address bar:

http://localhost/decisions/SL/#FolderId=b0949dfe-ed9e-11e3-97ef-00155db8db0a&PageName=Alternate%20View

Mention that we need to use hashtag “#” instead of “?” before parameters because we are using /SL version.

navigatingToSpecificPage

And our Alternate Page for 2012 Fisker Karma opens…

specificPageOpens

We are also able to set different Folder Chrome Options. To use Chrome options we need to pass FolderId parameter and Chrome parameter. The value options for Chrome parameter are:

Off, Small, TopBarOnly, TopBarFolderTreeCollapsed, NoTopBarHasFolderTree, NoTopBarFolderTreeCollapsed

Example:

We type into our browser’s address bar following URL:

http://localhost/decisions/?FolderId=e6d63898-7837-4c89-a45c-8266b1bca409-89&Chrome=Small

ChromeSettingsSmall

And our Folder opens with Chrome settings provided…

ChromeSettingsSmallPreview

Next, we can generate URLs for our Folders with different security options and display types. To be able to do it we need to get to Folder’s Api page. We use FolderId parameter and Action paremeter for our base url.

Example:

We get folder’s id and build our url as follow:

http://localhost/decisions/?FolderId=e6d63898-7837-4c89-a45c-8266b1bca409-89&Action=ViewApi

viewApiSettings

ViewApi value for Action parameter will redirect us to Folder’s Api page.

apiPageForDemoProjects

On the Integration Page we were redirected we can select any set of desirable options and click Generate UI Code. The page generates URL for us. We can click Open URL button to test the result or we can copy URL to use anywhere else.

differentApiSettings

Additional Resources