Watch.GetResources

The Watch.GetResources method retrieves a specific type of Connect resources when it is passed a file extension (e.g. "OL-template") or all Connect resources when it is passed an empty string.

Files in the Connect resources folder are visible in Workflow's Configuration Components pane under Connect Resources (see Connect resources).
For the file types see: Connect file types.

Syntax

Watch.GetResources(resourcetype)

resourcetype

A string containing a file extension (e.g. "ol-template") to get a specific type of resource, or an empty string to get all resources.

Examples

JavaScript

Watch.GetResources("OL-template");

VBScript

Watch.GetResources "OL-template"

Python

Watch.GetResources("OL-template");

Perl

$Watch->GetResources("OL-template");