Info: Performing the steps described in this article requires direct server access. Depending upon how your system is hosted and the level of access you have to that system, coordination may be required with your Partner or WoodWing Support team. For a full overview of the steps that need to be done by WoodWing and how to request them, see WoodWing Cloud - Change management.
One of the ways of adding files from Assets to Studio is by dragging files to the Pinned Dossiers panel of Assets.
To display Dossiers in the panel, a connection needs to be made between Assets and Studio Server.
To make this work, configuration steps are required in the Apache Web Server and in Studio Server.
Note: This prevents the following issues from occurring:
Step 1. Make sure that no wildcard character is used in the connection to Assets by removing or disabling the following line in the httpd.conf file of Apache:
# Header set Access-Control-Allow-Origin "*"
Step 2. Configure the CROSS_ORIGIN_HEADERS option in the config_overrule.php file of Studio Server as follows:
define( 'CROSS_ORIGIN_HEADERS', serialize(array( 'https://[ElvisURL]' => array( 'Access-Control-Allow-Credentials' => 'true', 'Access-Control-Allow-Methods' => 'GET, POST, OPTIONS, DELETE, PUT, HEAD', 'Access-Control-Allow-Headers' => 'Origin, X-Requested-With, Content-Type, Accept, X-WoodWing-Application, X-Frame-Options' ), )));
Step 3. (Optional) When using the X-Frame-Option setting in reverse proxy or Apache, set it to [EnterpriseURL] and not to sameorigin.