Version: 10.2.1c and 10.2.1c SP3 |
Responder Overview > Optional Functionality > Web Server > Switch Order Requests > Add Custom Fields, Domains, and Permissions |
The following customizations are optional though very helpful if you want to, for instance, add custom fields and domains to Switch Order Requests.
For custom fields to appear on Switch Order Requests, the fields need to be added to the DatabaseSchemaConfig.xml file under <Table Name = "RX_SWITCHING_ORDER_REQUESTS">.
The following is an example to show the required format:
<Column Name = "Test_Field_String" Caption= "String Value" Represents= "Custom1" />
Although the values for Column Name=, Caption=, and Represents= can be named as you choose, each needs to be present for proper display on Switch Order Requests.
For custom domain values to appear on Switch Order Requests, the domain and its appropriate values need to exist. The Description values are important specifically because they are more descriptive than just 0 or 1, which might have no meaning to users. The topic below shows potential Descriptions to use.
Add Domain to Geodatabase
- Right-click the name of the geodatabase and select Properties.
- Click the Domains tab.
- Scroll to the bottom of the domains list.
- In the empty row, type the domain name in the Domain Name field.
- Ensure that the correct Field Type is selected under Domain Properties.
- If additional domains need included, click Apply after adding each one.
- Click OK.
A new status of -1 has been added to indicate a Saved status of a Switch Order Request. Additionally, the domain value of 0 has been changed from Created to Submitted. The following is an example of how the DomainPairs for the SWITCH_ORDER_REQUEST_STATUS domain should look:
<Domain Name = "SWITCH_ORDER_REQUEST_STATUS" xsi:type= "CodedDomainConfig" DataType= "Int32">
<DomainPair Value= "-1" Description= "Saved" />
<DomainPair Value= "0" Description= "Submitted" />
<DomainPair Value= "1" Description= "Approved" />
<DomainPair Value= "2" Description= "Assigned to SO" />
<DomainPair Value= "3" Description= "In Execution" />
<DomainPair Value= "4" Description= "Executed" />
DomainPair values must be present with the given values above, in addition to the appropriate Description, which you can change accordingly.
On Responder Web Portal, under Administration, click Tasks then select the Operations tab. You will need to add a new permission called EDIT_SW_SO_REQUESTS.
After adding the permission, you can click Roles then assign the permission to the appropriate role.
After the above changes are made, you will need to restart the Responder service and IIS Admin Service. |