Page 1 of 1
Profile groups settings
Posted: Tue Jun 20, 2023 1:52 pm
by roclab
Hi,
I was wondering if we could make some settings apply to the entire profile group instead of setting them up on each profile running under it ?
By example I want to set the versioning on all profiles under a certain group so I won't need to configure the profile each time I add it under this group.
Thanks
Re: Profile groups settings
Posted: Tue Jun 20, 2023 2:29 pm
by tobias
Hello,
currently such a feature is not available, maybe in Syncovery 11 next year.
You can export profiles in csv or xml format and edit them externally and reimport, or you can use a global PascalScript to make changes.
For example:
Code: Select all
function OnGetProfilePathBeforeListing(const isRightSide:Boolean;
var Path,UserName,Password:UnicodeString;
var AuthKey,AuthKeyPassword:AnsiString;
var Port:Integer):Boolean;
begin
if (GetProfileProperty('KeepMultipleVersions')<>'Yes') or
(GetProfileProperty('MaxVersions')<>'12') then begin
SetProfileProperty('KeepMultipleVersions','Yes');
SetProfileProperty('MaxVersions','12');
SaveProfileSettings;
end;
Result:=true;
end;
This will turn on Versioning and set the number of versions to 12 on any job when it is run.
After a job has run, you can see the changes in the profile.
The script needs to be copied and pasted into Syncovery via the Program Settings dialog -> tab sheet Advanced -> checkmark "Global PascalScript".
You can get the settings names and values you need by looking at the end of a log file or in the profile editor via the Information tab.
See also
https://www.syncovery.com/pascalscript/