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
anArray = getServiceContext(protocol)
Semantics

Returns an array of ContextElement (Base Components.Basic Behavior.ServiceContext) objects containing all basic context parameters of the specified protocol related to the current request. If the protocol is not known the operation will return an empty array.

Info
iconfalse

For performance considerations, body for HTTP, and header and body for SOAP are excluded from getServiceContext(). Use getServiceContextValue() to get these values.

SubstitutablesprotocolA String specifying the protocol, of which parameters are requested. 
Examples
Code Block
languagenone
set serviceContext = getServiceContext("tcpip"); 
set param1.name = serviceContext[0].name; 
set param2.value = serviceContext[0].value;

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: