This is the login panel

 

Home|Account

Return to Product Support > Learning Center > Developer References > Creating Add-ons > Add-on Collections > Collection Installation File

Collection File Scripting Module Node

A Scripting module is a block of script code that can be included in an Add-on.

This is an example of a scripting module node

<ScriptingModule name="Hello World, VB sample" guid="{guid created with create guid tool}">
<![CDATA[
function main()
main="Hello World"
end main
]]>
</ScriptingModule>

To execute this script code, create an Interface Node with a page Interface. Add a Scripting node with the EntryPoint "main" and an IncludeModule with "Hello World, VB sample" as its data. Set the Scope to "Content". When this collection is imported, this addon can be added to any page, and it will produce the string "Hello World".

This page was last reviewed Friday, June 12, 2009

Support

Home

Search

FAQ



space
Login
space