help.sitevision.se always refers to the latest version of Sitevision
Script - JavaScript
JavaScript input field. Created variables are transferred to Velocity.

File or write custom code
Here you select one of the following:
- JavaScript file (.js) - designate a javascript file in the file archive,
- Custom code - Here you fill in your own code directly in the box.
Toolbar

- Search - Search the custom code. Enter search terms, click enter.
- Previous - Jumps to the previous search result.
- Next - Jumps to the next search result.
- Replace - Enter the words you want to replace. Click enter. Fill in the replacement word and click enter. Now the words that can be replaced are highlighted. For each word you get the answer, Yes, No, Stop.
- Replace all - Enter the words you want to replace. Click enter. Fill in the replacement word and click enter. Now all the words have been replaced.
- Appearance - Appearance according to different themes. You can choose between Standard, Eclipse, Ambiance, Twilight or Monokai.
- Full-screen view - Press the button to change to full screen.
Select script engine
Server scripts that can run with two different scripting engines. Nashorn is used as default.
- Rhino - older, used in SiteVision 3.
- Nashorn - default in SiteVision 4
Further information for developers (English only)
Help with scripts is not included in the support agreement.
The page published:
Did the information help you?