Adding a script component to a page

Script components allow you to add Javascript formulas to a page. Adding business logic introduces templates and formulas.

Writers: this topic can be beefed up with an example of a script.
  1. Navigate to the page you want to edit and click Design This Page to open the Page Editor.
  2. If the page does not contain a section to hold a script component, drag a New Section component from the left pane onto the page.
  3. Add a script component by dragging and dropping it on the page.
  4. Click Edit to display the Edit Script page.
  5. Insert the script for your page.
  6. Use the Template Helper area of the editor to insert tokens that select values:
    1. From the left drop-down menu, select the type that you want to retrieve values from.
    2. From the second drop-down, select the field value of interest to display the token required to extract that value.
    3. From the field below the drop-downs, select the token value and paste it in the template body.
  7. Click Save to save the template and return to the page.
  8. Save the page.