SyncInfo.xml
The SyncInfo.xml file holds the configuration for the synchronization process of configuration files between the server and the client. SyncInfo.xml is located on the web server: $\Author\ASP\ClientConfig.
Elements
- <syncgroup>
-
Container element that groups all files and folders that need to be synchronized for a particular application. This element is used for applying a condition that needs to be fulfilled before synchronization takes place.
<syncgroup ishcondition="ClientExe='xmetal.exe'"> - <syncfolder>
-
Identifies a folder on the server that needs to be synchronized to a given location on the client.
<syncfolder serverfolder="../DocTypes" clientfolder="%DATASOURCEAPPDATA%/Config/DocTypes" /> - <clientfolder>
-
Any folder or file below
serverfolderis copied toclientfolder.Theclientfolderattribute can contain the following variables:Variable Description Example %EDITORLOCATION% The folder that contains the executable for the XML editor. If XMetaL is started from C:\Program Files\XMetaL 12.0\Author\xmetal.exe, the variable %EDITORLOCATION% is equal to "C:\Program Files\XMetaL 12.0\Author". %LOCALSTORAGEROOTPATH% The location of the Local Storage on your local file system. C:\Users\jdoe\SDL\Documents\SDL\InfoShare %INFOSHAREAPPDATA% Application data folder. C:\Users\jdoe\AppData\Local\SDL\InfoShare Client %INFOSHAREUSERNAME% The user name of the user that is logging in %INFOSHAREDATASOURCE% Unique code identifying a connection to a repository. This is generated when a new connection to the repository is created "1594467382" %DEPRECATEDINFOSHAREDATASOURCE% Old code identifying a connection to a repository. Used to clean up previous installations %DATASOURCEAPPDATA% A combination of the variables %INFOSHAREAPPDATA% and %INFOSHAREDATASOURCE% C:\Users\jdoe\AppData\Local\SDL\InfoShare Client\1594467382 %CONNECTIONAPPDATA% A combination of the variables %DATASOURCEAPPDATA% and %INFOSHAREUSERNAME% C:\Users\jdoe\AppData\Local\SDL\InfoShare Client\1594467382\jdoe - <synchfile>
- Identifies a single file on the server that needs to be synchronized to a given location on the client.
- <removefolder>
- Identifies folders on the client that need to be removed before other configuration files are synchronized from the server.