You are here: Elements Reference > Miscellaneous Elements > Custom Script Elements > Custom Script Element


Custom Script Element

After selecting Custom Script from the Miscellaneous Elements section of the Element Gallery dialog, click “Click here to define the Custom Script Element” or click the Element Tool icon and select Edit to open the Custom Script Element dialog.

In this dialog, you select the ColdFusion module to render and choose a caching option for the Element. The module must already reside on your site or in the subsite's /customcf directory. Use Tools - File Upload from the CommonSpot top-level menu as described in the CommonSpot Contributor's Reference.

Note: When adding a ColdFusion module, the file name cannot include spaces.

There are two options for specifying a CFM module to be rendered.

The Parameters tab enables you to enter variable name-value pairs that CommonSpot passes to the ColdFusion module using the attributes scope. Enter one name-value pair per line. CommonSpot paces these values exactly as entered; if you include quotes around the values, the quotes are passed along with the value.

Click Save to save your settings and return to the page.

See also Using Custom Script Element.


Related Links

You can download PDF versions of the Content Contributor's, Administrator's, and Elements Reference documents from the support section of (requires login).

For technical support: