Creating Active Classes
Active Class is a strongly typed, object-oriented programming language (branch of C# .NET Framework) that allows developers to execute flow and transaction control statements on the Magentrix platform. The language syntax is similar to C#.NET and enables developers to add business logic to most system events and create entire new state-of-the-art mobile-optimized web applications. Developers can choose between three active class types to modify the portal.
Class / Interface: Used for building custom logic, models, utility lasses or interfaces.
Controller: Used for controlling HTTP requests and work with Active Pages.
Trigger: Used to automatically perform an action when a database event occurs. They can be used before or after a database event occurs.
Requirements
To create active classes, users must have the following permissions:
- Administrator System Role
To create an active class:
- In the Setup Home page, click Develop > Classes & Triggers.
- Click New.
- Select the type of Active Class you want to create, then click Next.
- If you selected Trigger, select the trigger entity, then click Next.
- Enter a name for the active class and then click Save.
See also:
<< Creating and Managing Active Pages | Managing Active Classes >>