Click or drag to resize

IContentUnit Properties


The IContentUnit type exposes the following members.

Properties
  Name Description
Public property Archived Gets/sets the archived value of this entity
(Inherited from IEntity)
Public property ContentUnitSecurity Gets/sets the security for this Content Unit, which is a list of User Groups, that will not see this Content Unit on Page Builder UI
Public property Created Gets the entity's creation date.
(Inherited from IEntity)
Public property CreationUser Gets the ID of the User who created this entity.
(Inherited from IEntity)
Public property Element

Gets/sets the Element this Content Unit holds.

The element is the "Model" part of the Content Unit.

This element will inserted into Page content, when the Content Unit is placed into Page Presentation.

Public property HasThumbnail Gets whether this Content Unit has thumbnail or not
Public property Icon Gets/sets the icon name of the Content Unit. Icon is just for easy identification purpose on Page Builder UI. It has nothing to do with actual Content Unit rendering
Public property LastModified Gets the date when the entity was most recently modified.
(Inherited from IEntity)
Public property LastModifiedUser Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity)
Public property Manager Gets the manager that retrieved this entity instance.
(Inherited from IEntityTManager)
Public property RestrictiveSchemaNames Gets the list of schema names. If the list is not empty, this Content Unit can only be placed on Page created with these Schemas
Public property Reusable Gets/sets whether this Content Unit can be placed multiple times on a Page Presentation. If false, it can only be placed once on a page.
Public property Session Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity)
Public property SessionId Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity)
Public property TemplateName Gets/sets the name of the MVC "View", that is in charge of rendering the Content. It normally matches the Element's tag name.
Public property ThumbnailId

Gets the unique id of the thumbnail. The thumbnail id is the file name of the thubmnail for this Content Unit.

The prupose of a thumbnail for a Content Unit, is to demonstrate what this Content Unit looks like when place on a Page.

Public property ThumbnailRelativePath Gets the path of the thumbnail image, relative to the root path of the CMS site
Top
See Also