Configuration file


This section describes how to configure Content Studio via the config file.

The file should be called and placed into the $XP_HOME/config folder of your XP installation.

Disable "Mark as Ready" in the Publishing Wizard

Whenever the Publishing Wizard contains at least one item that is "Work in progress", publishing will be disabled. The editor can overrule this by applying "Mark as ready" bulk action from the button dropdown menu and marking all of such items as "Ready for Publishing".

Mark as ready action in the Publishing Wizard

To add another level of restriction and prevent accidental publishing of items that are not ready for publishing, the "Mark as ready" bulk action can be disabled by adding the following parameter to the config file:

Enable Mark as Ready button in the Publishing Wizard
publishingWizard.allowContentUpdate = false

Matching mode for content type patterns

Defines matching mode for content type patterns. Can be MATCH or LEGACY. Default: MATCH. See description.

Set matching mode
contentTypePatternMode = MATCH

Max file upload size

CS: 4.0.0 CS 4.0.0

Used for setting size limit on attachments, media content and both project and content thumbnail uploads

Limit file size
uploadMaxFileSize = 100mb

Content path transliteration

CS: 4.0.0 CS 4.0.0

Turn off automatic transliteration of content path when generating it based on a value typed into the display name field in the Content form.

Collaboration mode

CS: 4.1.0 CS 4.1.0

Turn on Collaboration mode in the Content Wizard which will display avatar icons of users who currently have the same content opened.

Content Security Policy

CS: 4.1.0 CS 4.1.0

Turn off Content Security Policy by setting contentSecurityPolicy.enabled property to false.

You can provide your own header for Content Security Policy using contentSecurityPolicy.header property. For example, if you are using Google Analytics app then CSP header has to be customised, since GA injects its own scripts referring to external domains which have to be allowed in CSP.

Below is the header to be used for CSP if you want the Google Analytics widget not to be blocked in Content Studio:
contentSecurityPolicy.header=default-src 'self'; connect-src 'self' ws: wss: https://* https://*; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://* https://* https://*; object-src 'none'; style-src 'self' 'unsafe-inline' https://*; img-src 'self' data:; frame-src 'self' https://*