Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
aString = getServiceContextValue(protocol, parameter)
SemanticsReturns a String with the value of the chosen service context parameter related to the current request.
Substitutablesprotocol A String specifying the protocol, of which a parameter is requested.  
parameterA String specifying the name of the requested parameter.
Examples
Code Block
languagenone
set ip = getServiceContextValue("tcpip","remoteIPAddress"); 
set agent = getServiceContextValue("http","user-agent"); 

Get the home directory of the current service, e.g.: /opt/bridge_data/bridge_OrderApproval

Code Block
languagenone
set currentServiceDirectory = getServiceContextValue("SystemEnvironment","INSTANCE_HOME");

Supported Protocols per Service Type

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameservice_types_protocols
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

Supported Parameters

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameservice_types_parameters
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

rp
Panel
titleRelated Pages: