Designing processes - EMC Community Network

Designing processes - EMC Community Network Designing processes - EMC Community Network

community.emc.com
from community.emc.com More from this publisher
30.01.2015 Views

Creating the User Interface 1. Open the Adaptor Configuration Manager and add a new adaptor with the name GetEmployeeInformation. 2. Select Data Source as the adaptor type. 3. Select com.documentum.xforms.engine.adaptor.datasource.jdbc.JDBCDataSourceAdaptor as the class name and Class as the type. 4. Enter sql for the initial parameter and enter the appropriate SQL clause for pulling information from the data base. In the SQL clause, you specify the parameter with ${} (if using dql, use single quote, e.g., id=’${id}’). 5. Define the substitute parameter in the Input field. Be sure to select the Required option for the input field name. The parameter must match the input name. 82 EMC Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide

Creating the User Interface 6. Specify the output type to describe the return value. Note that the columns returned from the SQL query conform to the items in the output schema. This should include all the employee information fields you want to populate. 7. Click OK to save your configuration and close the Adaptor Configuration Manager. 8. On the Design panel, select the ID field and open the Properties > Special tab. 9. Select the option to Execute adaptor after the input value changes. This triggers the adaptor to fire after selecting an employee in the Name field. 10. In the Data Source field, select the GetEmployeeInformation adaptor. EMC Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide 83

Creating the User Interface<br />

6. Specify the output type to describe the return value. Note that the columns returned from the SQL<br />

query conform to the items in the output schema. This should include all the employee information<br />

fields you want to populate.<br />

7. Click OK to save your configuration and close the Adaptor Configuration Manager.<br />

8. On the Design panel, select the ID field and open the Properties > Special tab.<br />

9. Select the option to Execute adaptor after the input value changes. This triggers the adaptor to<br />

fire after selecting an employee in the Name field.<br />

10. In the Data Source field, select the GetEmployeeInformation adaptor.<br />

<strong>EMC</strong> Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!