A user shared a question about the documentation for EUC Sync, noting a discrepancy in the instructions. Other users confirmed and provided further clarification, discussing the use of the cfg file and the importance of setting the parameters correctly before setting up a scheduled trigger. Overall, the conversation provided helpful insights for using EUC Sync with ControlUp.
Read the entire ‘Correct Configuration for ControlUp EUC Sync’ thread below:
I believe this documentation is not correct. In step 2 it does not say to change COMMIT CHANGES TO YES. Can someone confirm?
Make sure the Preview parameter in the cfg file is set to True. This allows you to simulate the synchronization process.
Preview == commit changes
well, its the inverse of commit changes. But still
Once no errors are shown in the output, you can start the synchronization again. Make sure the Preview parameter in the cfg file is set to False
I think the thought behind having you edit the cfg file directly is because the mode parameter is kind of clunky.
Instead of modifying the cfg file directly you’d have to:
• run the script with mode: save, preview: false. This will just store preview mode value change
• run the script again with mode: run
Another note. If mode == run, the script ignores most if not all other parameters. In run mode it just takes the configuration from the cfg file(s)
we run it with
Then run again
Is that not right?
It is not. unless it was changed recently, your 2nd invocation would ignore the commit=yes and run with whatever was stored in the cfg file
i did what i outlined about and this is what the cfg file looks liek
"SyncFolder": "iWorkstation Desktops",
and the script is doing the job
so PREVIEW is the SAME variable as COMMIT?
If your setting this up on a new org preview is pointless.
But yes, I believe so.
so we should always have COMMIT=YES
And then we don’t have to manual edit a cfg file and change PREVIEW =False?
Correct. Just run it the last time with mode=run.
I ❤️ programmers
Once you set it up to your liking then you can set it up as a scheduled trigger and let it do its thing. 😊
Categories: All Archives, ControlUp Scripts & Triggers