Click or drag to resize

IContentUnit Methods


The IContentUnit type exposes the following members.

Methods
  NameDescription
Public methodBuiltInView

Retrieves the Asset that contains the content of the "View" for rendering of this.

If a Content Unit has a built-in View, it will not seek "View" file in Dynamic Site Server "Views" folder anymore.

Built-in view gives Page Builder much more flexibility. Developers of the Content Unit can directly work on the "View", without ever leaving the CMS client.

Public methodCheckInBuiltInView
Checks in the built-in View Asset, to specified Publishing Targets. The view is only effective on published content after check in. This method will mark the View Asset for publish for the specified targets on its latest version.
Public methodCreateBuiltInView
Creates the built-in View Asset for this Content Unit
Public methodRemoveBuiltInView
Removes the built-in View Asset. This action move the Asset to recycle folder, and unassociate the Content Unit with built-in View
Public methodSetThumbnail
Sets the content of thumbnail for this Content Unit
Public methodUpdateBuildInView
Updates content of the Built-in View.
Public methodValidateData
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.)
Public methodValidateUserPermission
Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity.)
Top
See Also