Skip to content

StateHashToUrl - cLocalWebAppHost

Called to convert a state hash into a URL

Type: Procedure

Parameters

Parameter Type Description
ByRef sHashUrl String Contains the state hash that is altered into a (relative) URL

Syntax

Procedure StateHashToUrl ByRef String sHashUrl

Call Example

Send StateHashToUrl sHashUrl

Description

This procedure is called to convert a state hash into a URL.

By default, it works relatively and adds the "#" symbol up-front; so "Orders/Order-2227" is converted into "#Orders/Order-2227" (if pbStateAsUrlHash is True).

Override this procedure to customize the URL format (see Custom URL format).