Updating connections and field mappings for a data source
To keep connection details current, reconnect data views to a data source when connection details have changed. You can update existing connection details and field mappings, for example, if the authentication method has changed, or the schema of the data being sent has changed.
In general, only data sources created in App Studio can be updated in App Studio; however, there are
conditions when a data source created in App Studio cannot be updated. In
these cases, only the replace option is available. The update option is not available
for data sources created in App Studio when:
- The JSON data transform or connector is opened and saved in Dev Studio.
- The normal response data transform is modified in Dev Studio so that it no longer references only one updatable JSON data transform.
- The data page is modified in Dev Studio in any of the
following ways:
- The data page no longer references a normal data transform as the response data transform.
- The data page references a request data transform.
- The connector parameters for the data source are obtained from the current parameter page (Pass current parameter page is set to true).
Data sources created in Dev Studio can only be updated in Dev Studio.
- In the navigation pane of App Studio, click Data.
- Click Data objects and integrations.
- Click a data object.
- Click the Data views tab.
- On the Data views tab, in the row of the data view that you want to configure, click .
- In the Connection details section, in the Method field, select the connection method, GET or POST.
- In the Endpoint URL field, enter the endpoint URL of the data.
- In the Parameters section, choose
which part of the URL are dynamic and need to be parameterized for future
calls.
- Select the URL part that you want to parameterize.
- In the Parameter name field, enter the name.
- In the Headers section, click Add header to specify a request header and its value. Some services require extra information, for example, API version.
- In the Authentication section, select the type of
authentication to use to connect to the system of record.
- For more information about basic and NTLM authentication, see Authenticating with basic or NTLM authentication.
- For more information about OAuth 2.0 authentication, see Authenticating with OAuth 2.0
- Click Next.
- Optional: Update the data mapping as needed.
- For information about mapping fields for the GET method, see Mapping fields for the GET method for existing data objects.
- For information about mapping fields for the POST method, see Mapping fields for the POST method for existing data objects.
- Click Next.
- Optional: In the section for the environment that you are configuring, in the Endpoint URL field, enter the endpoint URL of an external system.
- Optional: Configure authentication for the endpoint, based on the type
of authentication that you choose.
- To not authenticate, in the Authentication mode field, select None.
- To use the basic HTTP authentication credentials:
- In the Authentication mode field, select Basic.
- In the User name field, enter a valid user name.
- Click Set password.
- Enter a password for the user name that you entered.
- Click Submit.
- In the Realm field, enter the realm of the user account on the server to which you are connecting.
- In the Host name field, enter the host name of the server to which the request is being sent.
- Optional: To receive a basic authentication request before the server gives an unauthorized response, select Preemptive authentication. Selecting this check box reduces connection overhead.
- To use the NT LAN Manager credentials:
- In the Authentication mode field, select NTLM.
- In the User name field, enter a valid user name.
- Click Set password.
- Enter a valid password for the user name that you entered.
- Click Submit.
- In the Domain field, enter the domain of the user account that you provide in the User name field.
- In the Host Name field, enter the host name of the server to which the request is being sent.
- Optional: Repeat steps 14 and 15 for each environment you are configuring.
- Click Submit.
Previous topic Updating connection details and mapping for a data object Next topic Preparing your data for production