Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I have a sandbox with multiple subprojects. I want to automatically re synchronize only a group of selected subprojects. Is there a possibility to do this?
Thanks
Solved! Go to Solution.
Hello Gabriel,
There is no mechanism to automatically refresh a sandbox or portion of a sandbox, though the sandbox does change the file decorators to notify you if there are newer revisions on the server. Given these visual notifiers, you can selectively resync a subproject by selecting it and pressing 'F6' or selecting Resynchronize from the Member menu.
If you have a sandbox which will not change often, you could create a script to resynchronize a given subproject within it using CLI commands:
si resync --sandbox=C:\Sandbox\or\subsandbox\location\project.pj --norecurse
The above command will resync only that project location. If you wish to resync recursively you can use --recurse instead. For more options with the si resync command, type 'si resync --usage'.
Hello Gabriel,
There is no mechanism to automatically refresh a sandbox or portion of a sandbox, though the sandbox does change the file decorators to notify you if there are newer revisions on the server. Given these visual notifiers, you can selectively resync a subproject by selecting it and pressing 'F6' or selecting Resynchronize from the Member menu.
If you have a sandbox which will not change often, you could create a script to resynchronize a given subproject within it using CLI commands:
si resync --sandbox=C:\Sandbox\or\subsandbox\location\project.pj --norecurse
The above command will resync only that project location. If you wish to resync recursively you can use --recurse instead. For more options with the si resync command, type 'si resync --usage'.
Hi Joe.
Thanks for your answer. This is what I did and I have created a batch file with multiple resync commands for the respective subprojects. I was wondering if there is a more elegant solution.
All the best,
Gabriel