Virtual Assemblies

Release 1.0 - Smartsite 7.11

This functionality is no longer supported in Smartsite 8.0 or later.

To extend the SXML language, you can deploy class library assemblies to the bin folder, but you can also create 'Virtual' assemblies in the content database.

Virtual Assemblies are stored using the VAS ContentType and are compiled internally at site startup. 

You can add CMS Folders containing VAS items in the Smartsite.config runtime/modules section:

XML CopyCode image Copy Code
<add path="/bin/" enabled="true" /> <add path="VIRT_ASSEMBLY" enabled="true" />

A VAS CMS Folder

VAS ContentType

The VAS (Virtual Assembly) ContentType is installed by default since iXperion 1.2. In earlier versions, you can download the xml for the VAS contenttype and install it yourself.

Result

You can now create Virtual Assemblies as content items:

Edit Item (VAS)

When compiled, SXML is extended with the following macro:

Smartsite SXML CopyCode image Copy Code
<se:virtualworld />

Note that before iXperion 1.3, assembly references had to be fully qualified physical path names, delimited by a semicolon (;)
This was considered a bug and was fixed in 1.3.