ContentType Properties |
The ContentType type exposes the following members.
Name | Description | |
---|---|---|
Activities |
Gets the activities.
| |
AuthorizeGarbageCollection |
Gets or sets a value indicating whether the garbage cleaner job is authorized to erase
deleted items of this content-type.
Default value: True. | |
BaseType |
Gets or sets the base type.
| |
ClassName |
Gets the class name representing the content-type. Prefixed with "ContentType_".
| |
Columns |
Gets the columns.
| |
CreateTasksOnFirstStateInstance |
Gets or sets a value indicating whether tasks can be created on an item creation.
Default value: False. | |
CSharpName |
Gets the name for CSharp. Dots are replaced by underscores.
| |
CtForms |
Gets all forms.
| |
CustomPrintForm |
Gets or sets a value indicating whether an alternative form is designed for the print mode.
Default value: False. | |
DeletedItemsTimeOut |
Gets or sets the protection time of a (flagged) deleted item against the final deletion.
In days, tells the garbage cleaner job how many days to wait before a deleted item gets erased from db.
| |
Description |
Gets or sets the description.
| |
DescriptionRes |
Gets or sets the resource containing translations for the Description property.
| |
DisplayName |
Gets or sets the display name.
| |
DisplayNameRes |
Gets or sets the resource containing translations for the DisplayName property.
| |
EnableComments |
Gets or sets a value indicating whether comments can be added items.
Default value: True. | |
EnableVersionMerge |
Gets or sets a value indicating whether merging versions is enabled.
This feature is used to merge two versions of an item being modified by a MVC cycle
while another save occurred server-side.
Default value: True. | |
FakeStates |
Gets the fake states.
| |
FakeTransitions |
Gets the fake transitions.
| |
GenerateViewClasses |
Gets or sets a value indicating whether specific classes for this content-type's views should be generated.
| |
Guid |
Gets the GUID identifying this object.
(Inherited from ModelingObject.) | |
IconColor_Back |
Gets or sets the background color of the content-type's icon.
This icon is used in the user navigation panel and in items' forms.
| |
IconColor_Font |
Gets or sets the font color of the content-type's icon.
This icon is used in the user navigation panel and in items' forms.
| |
Id |
Gets the id identifying this object.
(Inherited from ModelingObject.) | |
InitialStatus |
Gets or sets the initial status.
| |
InitialStatusRes |
Gets or sets the resource containing translations for the InitialStatus property.
| |
InstanceGuid |
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.) | |
InstanceLanguage |
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.) | |
IsExtended |
Gets a value indicating whether this object is Extended (ModelingObject_Extended) or not,
allowing to avoid an "is" verification.
(Inherited from ModelingObject_Extended.) | |
Items |
Gets the modeled items.
| |
ItemsPFRelationClassName |
Gets the class name representing the relation of the content-type with its items.
Prefixed with "ContentTypeItems_".
| |
ItemsSync_ForceSave |
Gets or sets a value indicating whether synchronized items should be saved
on each installation, even if no modification has been detected.
Default value: False. | |
ItemsSync_NameColumn |
Gets or sets the column representing the modeled items. Used in the generated Enums.
| |
ItemsSync_NameLanguage |
Gets or sets the language code used to obtain the Enum names of modeled items.
| |
ItemsSyncMode |
Gets or sets value indicating how the modeling items are synchronized with Packflow.
| |
KeepModifiedFieldsBeforeSaveValues |
Gets or sets a value indicating whether (by default) saving an item should keep
a collection of the modified fields previous values.
Default value: False. | |
Labels |
Gets the labels.
| |
LogSaveEvents |
Gets or sets a value indicating whether each save must be logged.
Every time an item is saved (except for creation), an event will be created.
This event will optionally contain informations about changed values (if corresponding option is enabled on the column). Default value: False. | |
Messages |
Gets the messages.
| |
Model |
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Overrides ModelingObjectModel.) | |
Name |
Gets the name of this object.
(Inherited from ModelingObject.) | |
Notifications |
Gets the notifications.
| |
ObjectNotes |
Gets or sets design notes.
| |
ObsoletePermissionContexts |
For retro-compatibility. Do not use.
| |
Order |
Gets or sets a number used to sort the application's content-types.
| |
Parent |
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
ParentType |
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
PermissionContext |
Gets or sets the permission context.
| |
PermissionsAdvancedView |
Gets or sets a value indicating whether the designer should show the advanced UI to
design the permissions.
Default value: True. | |
PrintForm |
Gets or sets the print form.
Used if CustomPrintForm is set to True.
| |
Secondary |
Gets or sets a value indicating whether this ContentType is secondary.
A secondary content-type is not shown by default in the navigation.
Default value: False. | |
SendDefaultTaskNotification |
Gets or sets a value indicating whether the default notification of a task assignment should be sent.
Default value: True. | |
ShowNewButtonInNavigation |
Gets or sets a value indicating whether the "New" button must be shown in the navigation.
Default value: True. | |
StartState |
Gets or sets the start state's id, set by default on created items.
| |
States |
Gets the states.
| |
Steps |
Gets the steps.
| |
TaskCtId |
Gets or sets the task content-type's id.
| |
TaskViewId |
Gets or sets the default task view's id.
| |
ValuesEnumName |
Gets the enum name containing the values (modeling items) of the content-type.
Only used when the ItemsSyncMode is set to FullSync.
Postfixed with "_Value".
| |
ViewOrder |
Gets or sets the sort direction of views.
| |
ViewOrderType |
Gets or sets a value indicating how the views are sorted.
| |
Views |
Gets the views.
| |
WorkForm |
Gets or sets the work form.
|