Using URL Paths With Forms (without running flows)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.
Forms (without running Flows)
We can use FormId and FormPath parameters for the base URL to view Forms in Decisions.
First, we need to get our Form’s Id. To get form’s Id we locate its Thumbnail in the Designer Folder and then from Thumbnail’s Action menu we select Manage > Get Form ID submenu.
From the resulting pop-up window we copy Form Id to the clipboard and click Ok to close this pop-up window.
To build our URL we use our base url and pass FormId parameter with its value:
http://localhost/decisions/?FormId=db04c33b-5157-4479-9458-896ed68646f7
View Form by Id:
Similarly, we can use FormPath parameter to view our Form with URL. In this case our URL would look like: http://localhost/decisions/?FormPath=Designer_Folder/Drop Down Form
Mention, we include Folder Name/Form Name as a value for our FormPath parameter.
View Form by Path:
Next, we can use FormId and FormPath parameters to edit our Forms. To accomplish it we need to and second parameter to our URL. This second parameter is Action with its value edit. So our URLs would look as follow…
Using FormId: http://localhost/decisions/?FormId=db04c33b-5157-4479-9458-896ed68646f7&Action=edit
Using FormPath: http://localhost/decisions/?FormPath=Designer_Folder/Drop Down Form&Action=edit
Next, we can Preview our forms using the same URL structure from previous example except passing preview value to Action parameter.
Our URLs should reassemble:
Using FormId: http://localhost/decisions/?FormId=db04c33b-5157-4479-9458-896ed68646f7&Action=preview
Using FormPath: http://localhost/decisions/?FormPath=Designer_Folder/Drop Down Form&Action=preview