Enabling and Configuring Sharing
The Sharing configuration allows users to share files with each other. You can enable file sharing at the Global, Virtual Instance, and Site scopes.
Sharing is enabled globally by default.
Global Sharing Configuration
-
Click the Global Menu () and click Control Panel → System Settings.
-
Under the Content and Data section, click Sharing.
-
Under System Scope, select Sharing.
-
Configure the following options:
-
Expired Sharing Entries Check Interval: The interval in minutes for how often expired sharing entries are checked for deletion.
-
Enabled: Check this box to enable sharing globally.
-
-
Under Virtual Instance Scope, select Sharing.
-
Check the Enable box to enable sharing for all the Virtual Instances on your system. Leaving it unchecked means configuring sharing on each Virtual Instance.
NoteWhen you enable sharing at the System scope, you enable sharing for all the Virtual Instances on your system. To change this behavior and enable sharing on a per-instance basis, uncheck the Sharing option under the Virtual Instance scope section.
-
Click Save.
If you must disable this feature, blacklist the component. Do not enter zero or a negative number for the interval.
Virtual Instance Sharing Configuration
-
Click the Global Menu () and click Control Panel → Instance Settings.
-
Under Content and Data, click Sharing.
NoteThe Sharing option is unavailable when Sharing is disabled at the System Scope. See Global Sharing Configuration to modify the System Scope settings.
-
Under Virtual Instance Scope, select Sharing.
-
Check the Enabled box to enable sharing on this Virtual Instance.
-
Click Save.
Site Sharing Configuration
The Site Sharing option is unavailable when Sharing is disabled at the System or Virtual Instance scopes. See Global Sharing Configuration and Virtual Instance Sharing Configuration to modify these settings.
To configure the Site Sharing setting,
-
From the Site Menu, go to Configuration → Site Settings.
-
In the Content and Data section, click Sharing.
In previous Liferay DXP versions, from the Site Menu, go to Configuration → Settings. Then, expand the Content Sharing section under the Advanced area.
-
Toggle the Enable Sharing option to enable or disable sharing files for your site.
-
Click Save when finished.