This method enables or disables the tab workflow for a specific tab
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void SetWorkflowEnabled( int portalId, int tabId, bool enabled ) |
Visual Basic |
---|
Sub SetWorkflowEnabled ( portalId As Integer, tabId As Integer, enabled As Boolean ) |
Parameters
- portalId
- Type: System..::..Int32
Portal Id
- tabId
- Type: System..::..Int32
Tab Id
- enabled
- Type: System..::..Boolean
true for enable it, false for disable it
Remarks
this won't enable workflow of a tab if the tab workflow is disabled at portal level