The GetBookmarkableURL function is a built-in function that returns the URL of the screen that is currently being processed in the web flow.

Behavior

The URL returned by this function has the following syntax:

http://<Server>/<Module>[/<Tenant Name>][/<Session>][/<Personal Area>]/<Page>[?<Parameter Name>=<Parameter Value>&...]

Parameters and their values aren't displayed in the URL when:

Input parameters

None

Output parameters

Text Type

Although this function can be used in any type of flow, it only returns significant values in Web Flows.

Examples

Usage

 

GetBookmarkableURL()

URL:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/EditCustomer.aspx?CustomerId=1682

 

Result:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/EditCustomer.aspx?CustomerId=1682

 

Result if the screen is rendering or loading itself using the POST method:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/EditCustomer.aspx

GetBookmarkableURL()

URL:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/CustomersList.aspx?ShowDetails=False

Result:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/CustomersList.aspx?ShowDetails=False

Result if ShowDetails is an Optional parameter and its default value is False:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/CustomersList.aspx?

GetBookmarkableURL()

URL:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/CustomersList.aspx?MaxItems=0

Result:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/CustomersList.aspx?MaxItems=0

Result if MaxItems is an Integer and a Mandatory parameter:

http://MyServer/Customers/(1dffe4342a)/JohnSmith/CustomersList.aspx?

See Also

Available URL Functions | Available Built-in Functions