Creating the join forms to connect your application to the approval server
To connect your application to the approval server, create these inner join forms:
- A two-way join that connects your approval request form to the approval server form AP:Detail.
- A three-way join that connects your approval request form to the approval server join form AP:Detail-Signature.
In both cases, your approval request form is the primary form for the join.
Before you begin
Create the approval request form.
To create the two-way join
- Log on to Developer Studio as an AR System server administrator.
- In AR System Navigator, expand serverName > All Objects.
- Right-click Forms, and select New Join Form.
- In the New Join Form wizard, follow the prompts to take the following actions:
- Primary Form—Select your approval request form as the primary form, and click Next.
- Secondary Form—Select AP:Detail as the secondary form, and click Next.
- Join Properties—Select the Inner join type, the appropriate field positioning and inheritance options, and click Next.
- Primary Form Field Selection—Select Default Administrator View, move all fields to Selected Fields, and click Next.
- Secondary Form Field Selection—Select Default Administrator View, move all fields to Selected Fields, and click Finish.
The new join form appears. This join form is used only for internal processing, so the appearance of the form is not critical.
- On the new join form, you must manually specify a reserved ID for two fields. Use the Outline tab in Developer Studio to locate these fields.
Select the Status-Dtl field, and set the following values in the Properties tab:
Category
Property
Value
Display
Field Access
Read / Write
Database
ID
13191
- Select the Request field (not Request ID), and enter 10051 in the ID property.
- Select the Definitions tab.
- Expand the Permissions panel and then the Group Permissions panel.
- Move the Public group to the Permissions field, change the group permission type to Hidden.
- Save and name the join form.
- Click Yes or OK in response to the AR System server warning messages.
To create the three-way join form
Create only one three-way join form for your application.
- Log on to Developer Studio as an AR System server administrator.
- In AR System Navigator, expand serverName > All Objects.
- Right-click Forms, and select New Join Form.
- In the New Join Form wizard, follow the prompts to take the following actions:
- Primary Form—Select your approval request form as the primary form, and click Next.
- Secondary Form—Select AP:Detail-Signature as the secondary form, and click Next.
- Join Properties—Select the Inner join type, the appropriate field positioning and inheritance options, and click Next.
- Primary Form Field Selection—Select Default Administrator View, move all fields to Selected Fields, and click Next.
- Secondary Form Field Selection—Select Default Administrator View, move all fields to Selected Fields, and click Finish.
The new join form appears. Your users use this form when working with the details of an approval, so the layout and appearance of this form are important.
Hide or remove from view any fields that users do not need to see, such as most of the fields from the AP:Detail-Signature form.
- (Optional) Rename the status fields to clarify their purpose:
- The Approval Status field (ID 13191) is from the AP:Detail-Signature form and represents the status of the current approval signature. Approvers can use this field to approve or reject a request from the detail view if they do not use the buttons in Approval Central.
- The Status field (ID 7) is from your application request form and represents the status of the overall request.
- Select the Definitions tab.
- Expand the Permissions panel and then the Group Permissions panel.
- Move the Public group to the Permissions field, change the group permission type to Hidden.
- Save and name the join form.
- Click Yes or OK in response to the AR System server warning messages.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*