Skip to content

Instantly share code, notes, and snippets.

@dubeyji10
Last active June 21, 2022 08:13
Show Gist options
  • Save dubeyji10/3d315a017d8959882ce2034ae757e452 to your computer and use it in GitHub Desktop.
Save dubeyji10/3d315a017d8959882ce2034ae757e452 to your computer and use it in GitHub Desktop.
[documentation] how to setup and and run sycn script

Running syncScript STEPS

step1-1.png

1.1. Choose Self Client

1.2. Enter details

1.2.1. add scope (existing )
"""
ZohoCRM.modules.ALL,ZohoCRM.org.ALL,ZohoCRM.modules.custom.all,ZohoCRM.users.all,ZohoCRM.org.all,ZohoCRM.settings.all
"""
1.2.2. Time Duration 10 minutes
1.2.3. Add any message in Scope Description ( without special characters no ([{!@#$%^&*()-=+=}]) )

1.3. CREATE

steps-2.png

1.3.1 1.4 Choose CRM -> where to push

-> Production (main) -> sanbox environments (2) for testing step-3.png

1.4. DOWNLOAD THE GENERATED CODE self_client.json

<1>
step-4.png
<2>

Open Downloads select the latest self_client ( duplicates are numbered )

''' you can delete old jsons '''

Here we have the self_client(1).json - downloaded today

We will need to put its content in our self_client.json file which is read by program (syncScript.py) .

step-5.png

Delete contents of the old self_client.json file (select all->clear(backspace) -> save)

step-7.png

Paste the content of the latest self_client.json in the same file

from : Downloads to : Desktop>pythonProject>src>utils>self_client.json

The Just run syncScript.bat shortcut from the desktop - it will continue to run in the background

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment