# File Synchronization
Synchronization is an alternative option to transfer files from a 4ALLPORTAL DAM folder to CHILI publisher's own DAM Feed, conditioned on create, update and delete events. A folder automatically syncs the moment one of these events triggers.
Choose this feature if you want to make assets available without using an External Assets filter.
# Configuring a Folder Synchronization
To synchronize a 4ALLPORTAL folder with CHILI, you need to configure a sync like this:
Go to 4ALLPORTAL admin snap-in
CHILI Publisher Integration/Sync configuration
.Create a new sync configuration and be sure to make the following settings:
- Field
CHILI name
: Give an individual name for the configuration. - Switch
Enabled
: Activate to enable this connector. If disabled, this configuration's settings will be ignored. - Switch
Remove empty folders
: Activate to enable cleaning up all leftover empty folder (after moving assets) - Field
URL
: Enter your CHILI base URL. - Field
4ALLPORTAL Base URL
: Enter your 4ALLPORTAL base URL. - Field
Username
: Enter your CHILI publisher username. - Field
Password
: Enter your CHILI publisher password. - Field
Mount
: Enter your 4ALLPORTAL DAM mount. - Field
Folder path
: Enter the 4ALLPORTAL folder path you want to synchronize with CHILI (example:chili/testing/
if you want to sync folder "testing"). - Field
CHILI environment
: Enter the CHILI target environment. - Field
CHILI target folder
: Enter the name of the CHILI target folder you want to synchronize with the 4ALLPORTAL. - Field
Download profile
: Enter the name of a download profile for the synchronized assets. - Field
Download profiles
: Enter the name of a download profile left, and a postfix for filename on the right.
- Field
Save your settings and restart the system.
Note:
[ ] Every Configuration needs a Connector. Deprecated.
[x] Every Connector needs a AdminSnapin Configuration.
PapConnector example:
<pap class="com.cm4ap.ce.chili.config.ChiliAssetsConnector" key="whatever-ke"> <parameters> <entry key="configName">Your adminSnapin config Name</entry> </parameters> </pap>