Updating connection details and mapping for a data type

  1. In the navigation panel of App Studio, click Data.
  2. Click Data types and integrations.
  3. Click a data type.
  4. Click Data views.
  5. In the row of the data view with the source that you want to replace, click More > Update 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.