Integrating data after running the Integration wizard
The data integration scenario presents how to integrate contact details with the .FirstName property. To integrate more contact details, you must insert these properties in a few places to make the integration run successfully. You can run the Data integration wizard once, so to add any properties after that, you must perform some manual steps. To have a better understanding of what can be mapped, review the application areas that are populated with data from D_Contact_Details, as well as what is available by default in the D_Contact_Details data page.
Application areas populated by the D_Contact_Details data page
The example integration scenario describes how to populate contact details with just the .FirstName property from an external SOR. The D_Contact_Details data page populates data into many Pega Customer Service application areas. Review the list below to see what other properties you can map by using the D_Contact_Details data page.
- Customer verification page
- Start a new phone call to see contact-related information on the Customer Verification page.
- 360 composite page
- After verifying the contact, see contact-related information on the 360 composite page.
- Service cases related to contacts
- To see a comprehensive list of, for example, contact-related information on the service case page, click Add task and then select Update contact profile service case.
Reviewing the D_Contact_Details properties to decide what to map
As part of the example integration scenario, you mapped the .FirstName property. Review the D_Contact_Details to see what other properties you can map.
- To see a comprehensive view of the D_Contact_Details data
page so that you can decide what to map, perform any of the following
steps:
Choices Actions Use the class view in Dev Studio - In the navigation pane of Dev Studio, search for the
PegaCA-Interface-Contact
class.The D_Contact_Details class uses the PegaCA-Interface-Contact as the object type. By reviewing this class, you can see the super set of available properties.
- Expand .
- Review the list of properties.
Use the Clipboard view in the Interaction Portal of the demo app - Switch to a demo app by clicking in the Dev Studio header, .
- In the header of Dev Studio, click .
- In the application header, run a new interaction by clicking .
- Search for and open a contact, for example Rebecca Biggs.
- Verify the customer, and then run the Update contact profile service case.
- In the Interaction Portal, in the upper-right corner, click .
- Search for and open the D_Contact_Details data page.
- Review the list of properties.
Use the Live UI in the Interaction Portal - In the header of Dev Studio, click .
- Click .
- In the footer of the Interaction Portal, click .
- Select any item in the UI to see where each property comes from.
- In the navigation pane of Dev Studio, search for the
PegaCA-Interface-Contact
class.
Mapping additional properties
Use the mapping structure you created for the .FirstName property as a basis for mapping additional properties.
- Open your data page and add more properties to it.
- Open your data page.
- On the Parameters tab, enter names and descriptions for your new properties.
- Click Save.
- Optional: To test your service in the browser, add the property and its value to the URL after the version, for example "/contacts?/ContactId=your ContactId value, and then check whether the response reflects the property.
- Optional: To determine what you want to map from the service response, update the
connector XML parse rule.
- Open your connector.
- On the Methods tab, open the Response tab.
- In the Message data section, open the Map to key XML parse rule by clicking Open the selected XML parse rule.
- Click Allow tree editing?, and then Add Element.
- Add all new properties the same way that you added the .FirstName property.
- Click Save.
- Update the GetContact_Up response data transform to
determine what you want to map back to the data page mapping rule.
- Open your data page.
- In the Data Sources section, open the
Response Data Transform data transform.In your scenario, the name of the response data transform might be different. This example scenario uses the GetContact_Up data transform.
- Add all new properties the same way that you added the .FirstName property.
- Click Save.
Verifying integration with multiple properties
After you have set all the properties, verify your integration. It is recommended to verify that the data page returns correct values, and then verify that the application UI uses the integrated data.
- Log into your application.
- In the header of Dev Studio, search for and open your integration data page.
- On the data page, click .
- In the Value field, enter the values for your parameters.
- Click Run.
- Review the results.
- In the header of Dev Studio, click .
- In the application header, run a new interaction by clicking .
- Verify the contact and run the Update contact profile case.
- Review the application pages to see if the fields are populated with your integrated data.
- In the Interaction Portal, in the upper-right corner, click .
- Search for and open your data page.
- Verify that all the properties you integrated return set values.
Verify that your data page returns correct values
Verify that your application UI uses the integrated properties
Previous topic Verifying a scenario-based integration Next topic Configuring user portals