Smartsite 7.1 - ...

<assets> element

This section holds the assets configuration.

The example shown contains the internal default configuration, which means that within an actual smartsite.assets.config configuration file, the actions, contenttypemappings and metadataextractionmappings elements and the attributes referring to these elements can be left out.

Also, the excludeextensions attribute on the configuration element and the contenttypes attribute on the assetfolders element within this example are using the built-in default values.

So, an actual smartsite.assets.config configuration file which uses all the default settings could be something like this:

XML CopyCode image Copy Code
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://schemas.microsoft.com/.NetConfiguration/v2.0 System/Schemas/Configuration/smartsite.config.xsd">
 <assets>
  <assetfolders>
   <assetfolder code="SharedAssets" rootitem="SHARED_ASSETS" folder="/Assets/Library" type="localfolder" />
  </assetfolders>
 </assets>  
</configuration>

Expand image Example

Expand image Attributes

Expand image Parent element

Expand image Child elements