⚠️ You must have access to the Developer Console, ClosePlan Admin, and SalesForce. |
Instructions
Update via Script
Make sure every deployed Template and each version you want to have in the Report is correctly configured with the fields (don’t forget to also check for archived Templates/versions)
Go to the Gear Icon > Developer Console
Debug > Open Execute Anonymous Window
Using the script below, modify the script to reflect your Template Id and email.
Id[] templateIds = new Id[]{'a0O1U000004wd69UAA'};
TSPC.CPSJob_DealRehab job = new TSPC.CPSJob_DealRehab(templateIds, null, null);
job.scSyncFields = true;
job.pbSyncFields = true;
job.debugToEmails = new string[]{'anna.madajova@people.ai'};
Id jobId = DataBase.executeBatch(job, 10);
You will find the Id of the template/version on the template detail page.
Click “Copy” and paste the new value into the script in the place of a0O1U000004wd69UAA
Example
Replace the email with your email
Example
Your finished script should look similar to this:
Copy and paste your modified script into the box.
Click Execute.
Modify and run the script for every Template/version you synced for the report.
Refresh the Report page to see the updated values.