StorageType property: Content Reference class
Description
In general, content references contain information about where to get the content, and do not store the content. However, content references that are template or portal component types can have their content accessible directly from the content reference. In these cases, the Data property is valid and can be read or written, and the data is stored locally in the portal database.
| StorageType | Meaning |
|---|---|
|
LOCL |
Local: Data property on content reference is valid. |
|
RMTE |
Remote: Data property is not valid. |
When UsageType is a target this property must be set to RMTE and the URLType property should specify what format the Node and URL are in.
When UsageType is either a template or a portal component this property can be set to either LOCL or RMTE.
Note that when StorageType is LOCL, it specifies a static template or portal component. But, when StorageType is RMTE it can specify either:
-
a dynamically generated template or portal component
-
a static template or portal component
In both cases, the Node and URL properties specifies how to get the template or portal component.
Only templates and homepage tab content references can have StorageType LOCL. The StorageType is always LOCL for homepage tabs. For templates LOCL means that corresponding URL is stored in database, not retrieved by URL.
The following table indicates the usage type, and what type of storage is available.
| UsageType | RMTE | LOCL |
|---|---|---|
|
FRMT (Frame template) |
X |
X |
|
HTMT (HTML template) |
X |
X |
|
HPGT (Homepage tab) |
X |
|
|
HPGC (Pagelet) |
X |
|
|
TARG (Target) |
X |
RMTE is the default value for a new content reference.
The length of this property is 4 characters.
This property is read/write.
Related Topics