This method returns true if the workflow associated to the Content Item is in draft (it is in the first state)
Namespace: DotNetNuke.Entities.Content.WorkflowAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
bool IsWorkflowOnDraft( ContentItem contentItem ) |
Visual Basic |
---|
Function IsWorkflowOnDraft ( contentItem As ContentItem ) As Boolean |
Parameters
- contentItem
- Type: DotNetNuke.Entities.Content..::..ContentItem
Content item entity
Return Value
True if the workflow is in draft, false otherwise
Remarks
Content Item without workflow is considered as not in draft