Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Updating connection details and mapping for a data object

Updated on November 23, 2022
  1. In the navigation pane of App Studio, click Data.
  2. Click Data objects and integrations.
  3. Click a data object.
  4. Click Data views.
  5. In the row of the data view with the source that you want to replace, click MoreUpdate source.
  6. In the Connection details section, in the Method field, select the connection method, GET or POST.
  7. In the Parameters section, choose which part of the URL are dynamic and need to be parameterized for future calls.
    1. Select the URL part that you want to parameterize.
    2. In the Parameter name field, enter the name.
  8. In the Headers section, click Add header to specify a request header and its value. Some services require extra information, for example, API version.
  9. In the Authentication section, select the type of authentication to use to connect to the system of record.
  10. Map the REST response and request fields to fields in the data view.
  11. Click Next.
  12. Optional: On the Environment settings page, in the Endpoint URL section, update the application setting by performing one of the following actions:
    • To create a new application setting, in the Setting field, press the Down arrow key and select Create New Setting. Then change the values in the Name field and Category field if necessary.
    • To use an existing application setting, in the Setting field, press the Down arrow key and select an existing application setting from the list.
  13. In the section for the environment that you are configuring, click Edit.
  14. In the Do you want to edit this setting? dialog box, click Edit.
  15. Update the value in the Base URL field.
  16. Optional: In the Authentication section, update the application setting by performing one of the following actions provided in step 12.
  17. Click Submit.
Result:

When you replace a data source, the following artifacts are created or versioned:

  • Integration class, if it does not exist
  • Connect REST rule
  • A new application setting is created for the authentication profile
  • A new application setting is created for the base URL
  • Response data transform
  • Response JSON data page
  • The existing data page is versioned with the new source information
What to do next: Prepare you data for production, by configuring environment settings. For more information, see Preparing your data for production.
  • Previous topic Data view errors in a case life cycle
  • Next topic Updating connections and field mappings for a data source

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us