Custom Page Properties in Advantage CSP: Enhancing The Page

Custom Page Properties

Custom Page Properties

Overview

 

Custom page properties (often referred to as "Custom Properties" is an implementation of the AdvantageAttribute Control  (also used for AdvantageModule Dialogs).  

Once the control is created, a reference custom properties control location can be added in the "Domain Management" screen.  

 

Once registered, it will enable a "Custom Properties" tab in the "Page Properties" of the page manager.

Usage

Sitesettings can be accessed:

  • NavigationObject

 

Example

Example

var navList = this.GetNavigations(eNavigationSelector.All);
foreach (Navigation nav  in navList)
{
    if (nav.CustomProperties != null && nav.CustomProperties.ContainsKey("Secure"))
        Console.Write($@"{nav.Name} - Secure Page" );
}

 

Back to Top Button