Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

450 total results found

Error handling

Codeunit reference Developing codeunits

Exceptions are handled by themselves using the errorRegistration(Exception e) method. In case the errors are not caught by the codeunit itself, the generic error handler takes over Logs the error in the eventlog Returns a standard error page to the user ...

Needs Work

Configuration / parameters

Codeunit reference Developing codeunits

Parameters are delivered through the method call, packed in a nice <String> Hashtable for easy access. Please note that values are sent as-is, so make sure to escape values before DB operations using DbConnection.escapeSql(String s); Configurations can be s...

Needs Work

Variables

Codeunit reference Developing codeunits

Variables can have a scope of either Request User session Application For permanent variables user server configurations. Request variables Request scope variables should be stored in the Hashtable sharedObjects in the Command object. Note that the ...

Needs Work

Different codeunit types

Codeunit reference

Most likely you will need to create a Formevents that will allow specific changes for a solution, during views, updates or exports. Most interactions wil require interaction with the following objects Security Command DbConnection EventHandler

Needs Work

Creating the codeunit

Codeunit reference Formevents

Make sure that p2eShared.jar is included in the project Create a new class that extends com.tsnocode.codeunit.CodeunitFormevents

Needs Work

Event firing details

Codeunit reference Formevents

Event firing global The following events are ALLWAYS fired beforeSelectList beforeSelectItem beforeChangeItem beforeUpdateItem afterUpdateItem Event firing in UI (reserved for normal users) The following events will NOT be fired during imports etc....

Needs Work

Description

Codeunit reference Pagecontent

PageContent is activated by supplying the name of the class in a command Example for the codeunit MySpecialPage http://..../.../main?com.acme.samples.MySpecialPage Note that is is only possible invoke classes that inherits the CodeunitPagecontent class Sup...

Needs Work

Description

Codeunit reference PagecontentPublic

PageContentPublic are special variants of Pagecontent, that are publically accessible (they do not require a login). Note that is is only possible invoke classes that inherits the CodeunitPagecontentPublic class.

Needs Work

Description

Codeunit reference Statusaction

Status actions codeunits will execute just about anything for a single object in a determined state. The codeunit is bound to a Status action, and can be executed either on entry, on exit or after a given amount of time. As with other actions the execution i...

Needs Work

Description

Codeunit reference Translator

Translators are used for handling special values during integration: A translator is handed a value, that it can transform and return. Supported methods String execute( String config, String value, Connection conn );

Needs Work

Compliance standards

Coding standards

The platform must be able to run on Current versions of Java Current versions of Tomcat MySQL and MariaDB Do not use current_timestamp (property)

Needs Work

Safety standards

Coding standards

Input sanitization used in SQL, using either Escape all string parameters using DbConnection.EscapeSQL Prepared statements All Page codeunits should contain some user group restrictions, and set to be default off

Needs Work

Review standards

Coding standards

The following changes requires a formal code review Changes to the API Changes to common objects Command Security Controller DbConnection Creation of OR changes to Servlets Servlet Filters CodeunitPagePublic Code containing SQL Any co...

Needs Work

Understanding commands

Command reference

Commands are specified in the command parameter when calling the main servlet https://acme.com/TempusServa/main?command=index The core commands are index many (list) item (edit) new View commands can also be used in Integration/Content_source

Needs Work

Command reference

Command reference

ARTICLE IS DRAFT / UNDER DEVELOPMENT Navigation command function required optional <none> Default command     index Nested accordion list of all solutions     board Display default dashboard   Dashboard Single item ...

Needs Work

Other services

Command reference

scan The scan servlet will take input from HTTP calls, usually triggered from an QR or NFC scan. The use is either Make an Object call, then an Action call (within 1 minute). Make an Action call, then an Object call (within 1 minute). Make a combined ca...

Needs Work

Data restrictions

Features Security

Understanding permissions Data access is retricted in two ways Mandatory permissions granting access to Certain groups of fields (blocks) Records in certain status Optional filters binding certain data to certain users Owner user (the user ...

Needs Work

Encryption

Features Security

HTTPS / SSL is readily supported as the interface is indifferent of which protocol is used by the user. It is however possible to force the user to use SSL by tweaking the configuration Force SSL during logins Force SSL in interface Users making specif...

Needs Work

Security Setup

Whistleblower system

The following security and compliance features are enabled and active: Password policy The enabled policy forces users to create passwords based on the following minimum criteria: Minimum 8 characters, Must contain uppercase and lowercase letters, Must cont...

Needs Work

Styling

Dashboards

Note: Dashboard styling is under development Dashboard styling For CSS flex ordering dashboard elements you can add one of these classes to the dashboard tsDashboardLayoutRow tsDashboardLayoutColumn Widget styling The following classes can freely be ...

Needs Work