Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | DSPs and building output templates | Using Dynamic Server Pages (DSPs) | Using the DSP Tags
 
Using the DSP Tags
 
Begin...End Constructs
Invoking Services Using the %invoke% Tag
Why Does Scope Matter?
Passing Parameters with a DSP
Catching Errors
Extracting Results from an Array Variable
Extracting Results from a Document
Conditionally Executing Blocks of Code
Inserting Text Files in a DSP
Specifying a List of Permitted URLs for Redirection
To develop a DSP, you embed DSP tags where you want the results of the tags to appear. The following is a summary of tags that you can use to build DSPs. For a complete description of each tag, see Tag Descriptions.
Important:
DSP tags are case sensitive. In your DSP, you must type them exactly as shown below (e.g., type %loop%, not %LOOP%).
Use this tag...
To...
%invoke%
Invoke a service within a DSP.
%value% %rename% %scope%
Manipulate variables.
%ifvar% %switch%
Conditionally process a block of code within a DSP.
%loop%
Reiterate a block of code within a DSP.
%include%
Insert the content of a text file (which may contain additional DSP tags) into the DSP.
%validConst%
Limit the external URLs that can be accessed via redirection.
%comment%
Denote a comment within a DSP. Comments are neither processed by the DSP Processor nor returned to the requestor.
Note:
Integration Server automatically resolves tags when a client requests that DSP via an HTTP or HTTPS request. If you want to resolve tags within a document at some arbitrary point in a service, you can explicitly run the DSP Processor against the document using the services in the pub.report folder. For information about using these services, see Arbitrarily Processing DSP Tags.