JavaScript
You can create custom JS scripts - globally for the whole website or locally for single page.
It is supported to customize native JS scripts delivered with default Externable template, however it is not recommended to do so as this file may get overwritten with next upgrade. It is recommended to make a copy of the file before applying customizations or use Content Scripts.
Global JS script
To create a new JS script in Externable go to Settings section and select Scripts, click on dots to show menu and click New JavaScript file:
Now you can createyour custom script and Save it:
If you want your script to be published, add it to your portal template. You can find more details on it in rendering JS templates section.
Local Content Page JS script
You may want to tweak certain components on single page only. You can use Externable content Custom JavaScript property. To paste page specyfic JS go to only content node and scroll to 'Custom JavaScript':
NOTE: Custom JavaScript properties are supported in native Externable Document Types and Templates. If you use custom ones you may need to implement this feature separately.