Running the REST Sample Project

You can run the REST sample processes to see how TIBCO ActiveMatrix BusinessWorks Plug-in for Microsoft Dynamics CRM works.

Prerequisites

Ensure that you have imported the REST sample project to TIBCO Business Studio, as described in Importing the REST Sample.

Procedure

  1. In the Project Explorer view, expandDCRMRestSample > Resources > dcrmrestsample .
    You can see three Dynamics CRM REST Shared Resources:
    • DynamicsCRMRestConnection_On_Premise_Kerberos.dynamicscrmRestResource
    • DynamicsCRMRestConnection_Online_OAuth.dynamicscrmRestResource
    • DynmicsCRMRestConnection.dynamicscrmRestResource
  2. Double click the shared resource to edit the Dynamics CRM REST connection.
  3. Replace the module property's values for the selected shared resource. To replace the value, expand Module Descriptors in the Project Explorer view, double-click Module Properties, expand the shard resource which you want to configure and make changes in the respective fields.
    Note: You can also navigate to the Module Properties window from the respective Dynamics CRM REST connection shared resource editor. Click , Goto the Module Composite Property, to go to the Module Properties window. Replace the values.
  4. After successfully replacing the module property's value in the Module Properties wizard, go back to your selected Dynamics CRM Rest Shared Connection Editor window and click Test Connection.
  5. Configure the components:
    1. In the Project Explorer view, expand the Module Descriptors resource, and then double-click Components.
    2. In the Components editor, click , and then double-click the process that you want to run. Select the process that you do not want to run and click .
  6. On the toolbar, click the icon to save your changes.
  7. From the menu, click Run > Run Configurations to run the selected process.
  8. In the Run Configurations dialog, expand BusinessWorks Application and click BWApplication. In the right panel, click the Applications tab, select the check box next to DCRMRestSample.application.
  9. Click Run to run the process.
  10. Click the icon to stop the process.

Result

The selected sample process is run.