NavigationLifecycleHandler..::..PreInsert Method
Runs before a navigation insert commits. Inspect e.Attributes["InsertKind"]
to distinguish the "Plain" vs. "WithSort" variants. Return false
to veto the insert.
Namespace:
AdvantageCMS.Core.Admin.ExtensibilityAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public virtual bool PreInsert( Navigation nav, ActionArgs e, out eCMSEngineEventStatus status, out string message )
Parameters
- nav
- Type: AdvantageCMS.Core.Admin.BusinessEntity..::..Navigation
The navigation node about to be inserted.
- e
- Type: AdvantageCMS.Core.Admin.Event..::..ActionArgs
Action context (user, SQL, domain, language, attributes).
- status
- Type: AdvantageCMS.Core.Admin.Event..::..eCMSEngineEventStatus%
Outputs the engine event status for this hook.
- message
- Type: String%
Outputs a message surfaced to the engine event log.

