TheNMIEngine..::..AddSmartPage Method (TheFormInfo, IBaseEngine, String, String, Boolean, Boolean, Boolean)
Creats a direct access Page for a given Form
Namespace:
nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static ThePageDefinition AddSmartPage( TheFormInfo pFormInfo, IBaseEngine pBaseEngine, string pPath, string pTitle, bool pIncludeCDE, bool pRequireLogin, bool pIsPublic )
Public Shared Function AddSmartPage ( _ pFormInfo As TheFormInfo, _ pBaseEngine As IBaseEngine, _ pPath As String, _ pTitle As String, _ pIncludeCDE As Boolean, _ pRequireLogin As Boolean, _ pIsPublic As Boolean _ ) As ThePageDefinition
public: static ThePageDefinition^ AddSmartPage( TheFormInfo^ pFormInfo, IBaseEngine^ pBaseEngine, String^ pPath, String^ pTitle, bool^ pIncludeCDE, bool^ pRequireLogin, bool^ pIsPublic )
Parameters
- pFormInfo
- Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
The form that wants to have a direct access page
- pBaseEngine
- Type: nsCDEngine.Engines..::..IBaseEngine
The engine that owns the form
- pPath
- Type: String
The path to the new page from the root of the Relay
- pTitle
- Type: String
A title of the new page
- pIncludeCDE
- Type: Boolean
The page requires the C-DEngine runtime. You can also specify static pages that do not require the C-DEngine
- pRequireLogin
- Type: Boolean
if set, the page will require a login
- pIsPublic
- Type: Boolean
The page can be accessed from anywhere.