DocumentIn Class

Create a new document

Definition

Namespace: Ensur.Core.Main.POCOs
Assembly: Ensur.Core.Main (in Ensur.Core.Main.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class DocumentIn : EnsurPocoBase
Inheritance
Object    EnsurPocoBase    DocumentIn

Properties

Attributes A list of attribute values
CodePrefix Document code - Prefix - Only necessary when configured by the content type
CodeSuffix Document code - Suffix - Only necessary when configured by the content type
ContentTypeID Content type ID - Use this or the Content Type Name
ContentTypeName Content type name. Content type must exist in the system and the name must match exactly (not case sensitive)
CoOwners A list of user IDs to associate as co-editors
DocumentCode Document code - Leave blank if autogenerated
FolderID The ID of the folder to place the document into. You can use this or the folder path
FolderPath The path of the folder - Use \ to separate different folders ex: \\Ensur\\Matt's Folder\Docs - You can use this or the FolderID
FormatType Format Type - Template, form or windows application (file)
FormCode If this document is a form, enter the form code here or use the Form ID
FormID The ID of the current document containing the form layout. You can use this or the form code.
Keywords A list of keywords to associate with this document.
ProductType Product type - Document, training, CAPA, Incident..
Revision Revision - Can only be changed if the revision code is adjustable in the content type
RevisionHistory A text description containing this revision's history
TemplateID The ID of the template if using a template. You can use this or the template name
TemplateName The name of the template. Must match the name exactly (non-case sensitive). Feel free to use this or the template id
Title The new title of the document

See Also