You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > MetaData Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
MetaData Class

The Metadata server control lets you add the metadata from content blocks to a Web page. This lets developers add metadata quickly without having to type it in. You can add metadata from a single content block, multiple content blocks, or by dynamically passing a content ID from a URL.

C#
public class MetaData : Ektron.Cms.Controls.EkWebControl;
Visual Basic
Public Class MetaData
Inherits Ektron.Cms.Controls.EkWebControl

MetaData.cs

Name 
Description 
The methods of the MetaData class are listed here. 
The properties of the MetaData class are listed here. 
 
Name 
Description 
 
Fill 
Method that can be overridden and used to grab data from the back end for each server control.  
 
Name 
Description 
 
Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).  
 
The content block ID from which the server control gets the metadata. If you want to add metadata from several content blocks, set this property to 0 (zero) and use the DefaultItemList property to identify the content blocks.  
 
A comma delimited list of content block IDs from which to get metadata. DefaultContentID must be set to 0 (zero) so you can add IDs to the list.  
 
Gets or sets the QueryString parameter to read a content ID dynamically. Set to "Use Default" if you wish to always display the default ContentID (static.)  
 
When enabled, this property automatically creates seven of the Simple Dublin Core metadata fields from standard CMS400.NET system properties. The default is false.
  • True = generate Simple Dublin Core metadata fields
  • False = do not generate Simple Dublin Core metadata fields
The seven fields and how they are associated with the CMS400.NET properties is explained in the CMS400.NET Developer Manual section "MetaData Server Control" > "Using the Simple Dublin Core Metadata Standard"  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!