Difference between revisions of "Features/Custom code"

From TempusServa wiki
Jump to navigation Jump to search
Line 13: Line 13:
=== Pages ===  
=== Pages ===  


Link via: URL (example: main?command=xxx)


=== Event handlers ===
=== Event handlers ===
Line 20: Line 22:


=== Status actions ===  
=== Status actions ===  
Actions will allow certain code to run as if it where a normal status action: Timed, On enter, On leav


Link via: Designer > Entity > STATUS > STATUS ACTION > Codeunit


=== Scheduled code ===
=== Scheduled code ===
This is used for custom code that you need to run without user intervention.


Link via: Designer > Modules > Configuration > serviceRunCustomCodeunitClass


=== Global content ===
This codeunit can inject HTML content into all pages on that instance.


Link via: Designer > Modules > Configuration > dk.p2e.blanket.codeunit.common.PageStaticContent


== Custom security ==
== Custom security ==

Revision as of 10:49, 10 November 2024

Usage

In some cases there will be a need for specialized functionality.

Using codeunits you use all of the existing nocode features, and just do the special features in custom code.

The platform will handle WHEN to execute the code, while you make the code do WHAT you want.

Note that custom extensions are loaded dynamically, so the platform can still be updated independntly of your custom code.

Many extension points

Your custom code can be plugged into various ponts

Pages

Link via: URL (example: main?command=xxx)

Event handlers

Link via: Designer > Entity > Advanced > Codeunit

Status actions

Actions will allow certain code to run as if it where a normal status action: Timed, On enter, On leav

Link via: Designer > Entity > STATUS > STATUS ACTION > Codeunit

Scheduled code

This is used for custom code that you need to run without user intervention.

Link via: Designer > Modules > Configuration > serviceRunCustomCodeunitClass

Global content

This codeunit can inject HTML content into all pages on that instance.

Link via: Designer > Modules > Configuration > dk.p2e.blanket.codeunit.common.PageStaticContent

Custom security

API