Specification for the location of remote resources

The methods that you can use to specify the location of remote resources, which are URL, variable, or stylesheet.

To specify the location, use one of the following methods.
URL
Specify the URL. For example, enter http://server1.domain.com:2222 in the Source or Destination field.
Predefined variable
Use a predefined variable in the var://context/name form that expands to a URL (Source or Destination field) or to multiple URLs (Destination field only).
  • For a single URL, use the set variable action to define the var://context/remote1 variable with a value of http://server1.domain.com:2222. Then, specify var://context/remote1 in the Source or Destination field.
  • For multiple URLs, use the set variable action to define the var://context/results/remote-multi variable with the following value.
    <results mode="require-all" multiple-outputs="true">
      <url input="context1">http://127.0.0.1:22223</url>
      <url input="context2">http://127.0.0.1:22224</url>
      <url input="context3">http://127.0.0.1:22225</url>
      <url input="context4">http://127.0.0.1:22226</url>
    </results>

    Then, specify var://context/results/remote-multi in the Destination field.

Custom stylesheet
Use a custom stylesheet that defines a variable that expands to multiple URLs. For example, create a stylesheet with the following declarations.
<xsl:variable name="URLs">
  <results mode="require-all" multiple-outputs="true">
    <url input="context1">http://127.0.0.1:22223</url>
    <url input="context2">http://127.0.0.1:22224</url>
    <url input="context3">http://127.0.0.1:22225</url>
    <url input="context4">http://127.0.0.1:22226</url>
  </results>
</xsl:variable>
<dp:set-variable name="'var://context/results/remoteMany'" value="$URLs"/>
Then, specify var://context/results/remoteMany in the Destination field. The input="context" attribute tells the action to use the specified context to send results to the appropriate target.
  • For the for-each action, uses the value of the Output field.
  • For the result action, uses the value of the Destination field.

For URLs with the SMTP protocols, follow the dpsmtp://mailExchange/?To=recipient[&query-paremeters] syntax.