Configure DC Local Server Mode
You can find the configuration files here:
The server usually works with the system user.
You can find the files in the 'Root' directory. If you change the running user, follow the 'User' directory to find the files.
Windows - Root
Windows - User
Linux - Root
Linux - User
Before you use DC Local Server Mode with a new Org, you need to change some settings in the properties file, located in:
Set batch profile
The batch profile setting determines how many resources DC Local will take up on your machine. The higher you set this, the quicker the jobs get processed. When set to 'High', DC Local will take up the maximum amount of resources to run jobs. If you have multiple processes running on your server, pick a lower setting.
Set the environment
To establish a connection, DC Local needs to know which environment it will work with: Production or Sandbox. The default setting is Production. Make sure that the environment mentioned in the file matches your Salesforce environment.
You can also set the environment to Custom so you can only log into the server through a custom URL. In that case, also set a custom domain to use for logging in.
Set an email address
Optionally set one or more email addresses to receive information when something goes wrong. Separate them with commas.
See below for an example of the configuration file where the environment has been set to Sandbox and two email addresses to receive information have been set. Lines with a '#' in front of them are commented out. Make sure to remove the '#' to activate the setting.
# Plauti DC Local configuration file logging.level.root=INFO logging.level.com.plauti.dcl=DEBUG"); dcl.sf.namespace=dupcheck # Low | Medium | High dcl.batch-profile=Medium # Salesforce Org Type; PRODUCTION, SANDBOX or CUSTOM dcl.service-mode.environment=SANDBOX #dcl.service-mode.custom-domain=https://testcompany.my.salesforce.com email@example.com, firstname.lastname@example.org
Use DC Local Server Mode
Step 1 Connect your Salesforce Org to DC Local
- Log into your Salesforce Org on any device.
On the device where you installed DC Local Server Mode, open a command-line interface.
To start DC Local, type in the following command:
net start dclocalLinux:
sudo service dclocalserver start
- Open the log file. You can find it in:
- Look up the verification URL in the log file. Navigate to the URL.
- The connection page will ask you for a verification code. Find the code in the log file. Enter it on the page and click 'Connect'.
- Salesforce asks you to allow access to Duplicate Check. Click 'Allow'.
- You are connected.
You can stop DC Local using the following commands:
net stop dclocal
sudo service dclocalserver stop
You can check the status of the DC Local server by doing the following:
Go to Services.
sudo service dclocalserver status
Step 2 Send a job to the DC Local server
- Start the DC Local server.
- Go to the DC Job page and click 'Add New Job'.
- Enter the job details and click 'DC Local'.
- Optionally check the progress in the spring.log file.
- The job will be sent back to your Org after it completes. Find it there to process the results.