Click or drag to resize

IComponentContentUnit Methods


The IComponentContentUnit 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.

(Inherited from IContentUnit.)
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.
(Inherited from IContentUnit.)
Public methodCreateBuiltInView
Creates the built-in View Asset for this Content Unit
(Inherited from IContentUnit.)
Public methodFragmentInstances
Retrieves the list of customized versions of this Component Content Unit, that have child layouts. They are individual Components, that were shared out from the Pages, where instances of this Component Content Unit were placed.
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
(Inherited from IContentUnit.)
Public methodSetThumbnail
Sets the content of thumbnail for this Content Unit
(Inherited from IContentUnit.)
Public methodUpdateBuildInView
Updates content of the Built-in View.
(Inherited from IContentUnit.)
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