The GetOwnerURLPath function is a built-in function that returns the URL path of the eSpace that owns the element that is being processed. Note that this function does not return the complete URL but only the component containing the location of the resource within the domain.

Behavior

The URL path returned by this function has the following syntax:

<eSpace Owner>[/<Personal Area>]

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

Result

GetOwnerURLPath()

"/Customers/JohnSmith/"

In this situation, the Customers eSpace is currently running in the Personal Area of the JohnSmith user and the owner of the element being processed, e.g. an Action or a Web Block, is the Customers eSpace.

GetOwnerURLPath()

"/Order/"

In this situation, the Customers eSpace is currently running in the Personal Area of the JohnSmith user but the owner of the element being processed, e.g. an Action or a Web Block, is the Order eSpace. The Consumer eSpace is Customers and the Producer is Order.

See Also

Available URL Functions | Available Built-in Functions