Framework:Functions

From CoPlanner 10
Revision as of 13:18, 18 November 2010 by Admin (talk | contribs)

Jump to navigationJump to search

CoPlanner can execute functions on the server or client. Server-side functions in connection with formulae can manipulate data, client-side functions are only to display data.

Server-side functions

The server-sife parser has access to session variables, application properties and the data. Session variables and application properties have to be qualitfied with '@', server-side functions with 'fkt' If a formulae contains '@' or 'fkt', the client sends the function to the server and the server executes the function.

Der serverseitige Parser hat Zugriff auf alle Session-Variablen, Anwendungseigenschaften und den gesamten Datenbestand. Session-Variablen und Anwendungseigenschaften werden mit '@' qualifiziert, serverseitige Funktionen mittels FKT*. Sobald eine Formel '@' oder FKT enthält wird diese vom Client an den Server gesendet und dort verarbeitet. Practical case of use are all operations to be executed by the server, like formulae of object administration, expressions for calculated columns in aggregationsmasks, CoPlanner cubes.


Client-side functions

Funktionen des clientseitigen Rechenwerks dienen der Darstellung in Masken. Verwendung finden sie für dynamische Spaltenüberschriften, Filterbezeichnung, Tooltips, etc. Derzeit sind diese Funktionen in Kombination in der Eingabemaske, Analysesicht und Zeilensicht verwendbar.