Processess a template file for the new portal.

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void ParseTemplate(
	int portalId,
	PortalController..::..PortalTemplateInfo template,
	int administratorId,
	PortalTemplateModuleAction mergeTabs,
	bool isNewPortal
)
Visual Basic
Public Sub ParseTemplate ( 
	portalId As Integer,
	template As PortalController..::..PortalTemplateInfo,
	administratorId As Integer,
	mergeTabs As PortalTemplateModuleAction,
	isNewPortal As Boolean
)

Parameters

portalId
Type: System..::..Int32
PortalId of the new portal
template
Type: DotNetNuke.Entities.Portals..::..PortalController..::..PortalTemplateInfo
The template
administratorId
Type: System..::..Int32
UserId for the portal administrator. This is used to assign roles to this user
mergeTabs
Type: DotNetNuke.Entities.Portals..::..PortalTemplateModuleAction
Flag to determine whether Module content is merged.
isNewPortal
Type: System..::..Boolean
Flag to determine is the template is applied to an existing portal or a new one.

Implements

IPortalController..::..ParseTemplate(Int32, PortalController..::..PortalTemplateInfo, Int32, PortalTemplateModuleAction, Boolean)

Remarks

The roles and settings nodes will only be processed on the portal template file.

See Also