6.4 Adding a New Field in a Webservice

Currently, you can only search for the ready-to-use web service fields in the Real-time screening user interface. If you want to add a custom field to an existing web service, for example, full name, you must enter the field name in the applicable web service node and add the field to the applicable process. To do this, follow these steps:
  1. In the Director Landing page, expand the Customer-Screening project in the Project Browser pane.

    Figure 6-16 Project Browser pane


    This image displays the Project Browser pane.

  2. Expand the Web Services node and double-click the IndividualScreen web service.

    Figure 6-17 Web Services Node


    This image displays the Web Services Node.

  3. Click the Plus icon in the Web Service Inputs window.
    A new row is displayed in the table.

    Figure 6-18 Edit Web Service window


    This image displays the Edit Web Service window.

  4. Enter the name of the column, for example, FullName, and click anywhere inside the table to enable the Next button.
  5. Click Next until you view the Finish button, and click Finish.
  6. In the Customer-Screening project, expand the Processes node and double-click the Individual Real time Screening process.

    Figure 6-19 Processes Node


    This image displays the Processes Node.

  7. Click the Individual Real-time Data process icon in the Individual Real-time Screening window.
  8. Search for FullName in the Reader Configuration window.

    Figure 6-20 Reader Configuration window


    This image displays the Reader Configuration window.

  9. Select FullName and select the Remove icon to move it to Selected Inputs for Process.
  10. Click OK.
    After you add the new field, you must integrate it with the Real-time screening user interface to display it in the user interface. To do this, follow these steps:
    1. Open the RTScreening.html file from the <Installed Sanctions Path>/js/views directory. For example, ECM808SAN.war path }/realTimeScreening/js/views.
    2. Change the external ID placeholders to FullName:

      <oj-label for =”text-input”>External ID</oj-label>

      <oj-input-text id=”externalId” value=”{{ExternalId}}”></oj-input-text>

    3. Copy the code with the new value.
    4. Open the RTScreening.js file from the <Installed Sanctions Path>/js/viewModels directory. For example, ECM808SAN.war path }/realTimeScreening/js/viewModels.
    5. Update the placeholder within ‘’ with the copied code with the same syntax as given in the id in the html file in the self.Clear function:

      Document.getElementById(“FullName”).value = ‘’;

    6. Update the placeholder within “” with the copied code with the same syntax as given in the id in the html file in the self. IndividualScreenObject array: FullName:””