As an administrator, define an action button in your workspace and map it to the built-in action that initiates a contract request.
Before you begin
Role required: admin
Procedure
-
Add initiate contract request functionality to your workspace.
-
Navigate to
-
Select New.
-
Set the action to the type UXF client action and map the action to the initiate contract request functionality and by entering the following field values.
Table 1. Initiate contract request fields
| Field |
Value |
| Implemented as |
UFX Client Action |
| Specify client action |
Initiate contract |
-
On the form, fill in the other fields.
-
Right-click the form header and select Save.
-
Create an event mapping for the defined declarative action.
-
Select Advanced view listed under Related Links.
-
Select to the UX Add-on Event Mappings related list.
-
Select New.
-
On the form, fill in the fields.
-
Define the fields to send by pasting the following JSON code in the Target Payload Mapping field.
{
"container": {
"fields": {
"binding": {
"address": [
"fields"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"params": {
"binding": {
"address": [
"params"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"route": {
"binding": {
"address": [
"route"
]
},
"type": "EVENT_PAYLOAD_BINDING"
}
},
"type": "MAP_CONTAINER"
}
-
Select Submit.
Result
An action button for users to initiate contract requests is added to your workspace.