View resource links in a form

This procedure describes how to view your resource links using a form in a workflow.

Before you begin

Activities can be inserted at both the workflow and subprocess levels.

Procedure

  1. Create a form and configure it as follows:
    1. Add a control to use to view the resource link information.
    2. In the Forms Designer, click the Parameters tab, add an input parameter to the form, and then configure the properties required.
    3. Bind the ItemSource property of the control to an attribute of the input parameter, and then click Save.
  2. Create a workflow that will be used to view resource links.
  3. On the activity configuration panel, click Configure Method.
    The Configure Method dialog box appears, displaying a list of the available call method service providers.
  4. Double-click IResourceLinking to display the list of available call methods.
  5. Click QueryCurrentResourceLinks, and then click Finish.
    The input parameters appear in the activity configuration panel.
  6. Configure the query.
    To query by...Then...
    resource link nameIn the Resource Link Name field, enter the name of the resource links. This query returns all resource links with this name.
    source resourceIn the Source Address field, click the ellipsis button and select the source resource. The query returns all resource links with this source resource.
    target resourceIn the Target Address field, click the ellipsis button and select the target resource. The query returns all resource links with this target resource.
  7. Insert a form activity after the call method, and then configure it as follows:
    1. In the Form field, click the ellipsis button, and then select the form you created in step 1.
    2. In the InputParameter field, click the arrow, and then select Bind.
      The Select Variable dialog box appears.
    3. Expand the inserted call method, expand the output parameters, and then select the Return Value of the call method.
    4. Click OK.
  8. Click Save.
  9. Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.