Skip to content

ParseViewStateHash - cLocalWebAppHost

Parses a view state hash into the different pieces that make up one

Type: Procedure

Parameters

Parameter Type Description
sStateHash String The state hash to parse
ByRef sView String Will be filled with the view name
ByRef sOptRecordId String (optional) Will be filled with the record ID ("" if none available)
ByRef sOptCustomHash String (optional) Will be filled with the custom hash ("" if none available)

Syntax

Procedure ParseViewStateHash String sStateHash ByRef String sView ByRef String sOptRecordId ByRef String sOptCustomHash

Call Example

Send ParseViewStateHash sStateHash sView sOptRecordId sOptCustomHash

Description

Parses a view state hash into the different pieces that make up one. This central procedure is called from every place where details need to be parsed out of a view state hash. It also un-escapes the different parts. You would override this procedure if you wanted to customize the format of a view state hash. This procedure is the inverted version of ConcatViewStateHash.