Profile groups settings

General Discussion in English
Post Reply
roclab
Posts: 18
Joined: Tue Jun 28, 2022 3:07 pm

Profile groups settings

Post 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

tobias
Posts: 1670
Joined: Tue Mar 31, 2020 7:37 pm

Re: Profile groups settings

Post 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/

Post Reply