Web URL Parameter (PRIM_WEB.URLParameter)

URL parameter

Ancestors - Object (PRIM_OBJT)

Details

A URLParameter is one of the name/value pairs the comprise the QueryString, the part of the URL after the question mark, used to provide additional information, typically for deeplinking.
 
The QueryString is expected to be formatted as follows: Name=Value&Name=Value/..etc., with an & between each name and value pair.

Example

In this example, the query string is inspected for a particular parameter.
Evtroutine Handling(#sys_web.urlchanged)
 
   For Each(#Parameter) In(#sys_web.urlparameters)
 
      Continue If(#Parameter.Name.upperCase <> Employee)
 
      #Com_owner.LoadEmployee( #Parameter.value )
 
      Leave
 
   Endfor
 
Endroutine

Properties

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
NameName identifies the component
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)
ValueValue of the parameter

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Web URL Parameter (PRIM_WEB.URLParameter)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Web URL Parameter (PRIM_WEB.URLParameter)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2