Loading

How to specify experience site URL as Dataloader login URL in Salesforce

Veröffentlichungsdatum: Oct 9, 2026
Beschreibung

Digital Experience users always log in with the OAuth option in Data Loader.

Even we enable OAuth option in Data Loader, OAuth value is automatically deleted when launching DataLoader.

 

(config.properties)

======

sfdc.endpoint.Production=https\://MyDomainName.my.site.com/test => This value is reverted to the original value.
sfdc.oauth.Production.server=https\://MyDomainName.my.site.com/test => This value is automatically deleted.
sfdc.oauth.Production.redirecturi=https\:/MyDomainName.my.site.com/services/oauth2/success

======

Lösung

This article explains how to keep a custom OAuth login URL (such as an Experience Cloud site URL) from being reverted or deleted in Data Loader, using the config.properties.readonly option.

The Problem

Digital Experience Users always log in to Data Loader using the OAuth login option. Even when OAuth is enabled, entries in config.properties for the OAuth server URL are automatically deleted when Data Loader launches, and the endpoint value is reverted to the default. For example:

sfdc.endpoint.Production=https://MyDomainName.my.site.com/test => This value is reverted to the original value.
sfdc.oauth.Production.server=https://MyDomainName.my.site.com/test => This value is automatically deleted.
sfdc.oauth.Production.redirecturi=https://MyDomainName.my.site.com/services/oauth2/success

Resolution

To retain the OAuth setting in Data Loader, specify the config.properties.readonly option. This option sets config.properties to read-only mode, so it will not be overwritten by the Data Loader user interface.

  1. Download and install Data Loader V63.0 or higher.
  2. Modify config.properties as follows:
sfdc.endpoint.Production=https://MyDomainName.my.site.com/test
sfdc.oauth.Production.server=https://MyDomainName.my.site.com/test
sfdc.oauth.Production.redirecturi=https://MyDomainName.my.site.com/services/oauth2/success
config.properties.readonly=true
  • Make sure Data Loader is not running when you modify the config.properties file.
Nummer des Knowledge-Artikels

004693644

 
Laden
Salesforce Help | Article