With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
This page provides the requirements for Web Governance CMS integration to work with BayWSF.
The script element with attribute data-drupal-selector='drupal-settings-json'
Inside the script element, the JSON must contain the key currentPath. The value from the node is used to create the URL of the CMS as shown in the following script:
<script type="application/json" data-drupal-selector="drupal-settings-json"> {"path":{"baseUrl":"\/","pathPrefix":"nl\/","currentPath":"node\/1",...}} </script>base_url of the CMS
#{base_url}/node/#{extracted_node_from_script_current_path}/edit
The domain https://www.rennie.be has a base_url, which is the CMS URL: https://prods896urp7.main.acsf.baywsf.com.
Each page contains a specific "currentPath":"node\/#{number}" on the script drupal-settings-json.
For example, the https://www.rennie.be/nl/ page has "currentPath":"node\/416", which means that the URL for this specific page is https://prods896urp7.main.acsf.baywsf.com/node/416/edit.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.