Documentation
Back to website >

Global placeholders

At different places in the EULANDA it is possible to create texts dynamically with placeholders. In addition to placeholders that depend on modules, there are a number of placeholders that are generally valid. These are listed below.

This article is intended for administrators, power users and developers. Sometimes knowledge of the internal structures of EULANDA, such as the SQL registry, is required.

Examples:

  • For each print report, a specification for the e-mail subject and the text of the e-mail can be stored. In addition to placeholders for the current object (for example, the calculation), all subsequent global placeholders can also be used.

  • E-mail signature (global and personal) in the settings

  • Archiving interface (optional)In the archiving interface, placeholders can be used to control archiving, to determine the export directory and to generate additional text or XML files that are required for transfer to an external archiving system.

  • In the Quick Info definition, however, placeholders are wrapped in double dollar signs instead of percentage signs.

Basic values

Basically, all text and numerical values are available that are below the key "\MODULES\Grunddwerte" in the registry. The individual subkeys must be separated by a single dot in the placeholder and at the end follows - also separated by a dot - the name of the value as it is stored in the registry.

If, for example, the bank code number of the second bank details stored in the company master is to be output, the placeholder basic values.Bank.2.BLZ is used since the required value"BLZ" is located in the registry under"\MODULES\Bank\2".

Instances

gundwerte.firmenstamm.Firma 

Company

gundwerte.firmenstamm.Strasse

Street
gundwerte.firmenstamm.PLZ

ZIP

gundwerte.firmenstamm.Ort

City

gundwerte.firmenstamm.Hompage

Company Hompage

gundwerte.firmenstamm.Tel

Telephone number

gundwerte.firmenstamm.Fax

Fax number

gundwerte.Bank.1.IBAN

gundwerte.Bank.1.BIC

gundwerte.Bank.1.NAME

First bank deposited in the company base

User defaults

As with "Basic values", all registry values from the "\USER\<current user>\basic values" registry key are made available via "user basic values". I.A. no special values of EULANDA are stored here. Instead, it is used to create your own values or subkeys that allow you to create user-dependent output (for example, signatures).

User default values.controls has a special role. See next paragraph.

Usergrundwerte.Controls

The current color and font settings can be called up here. The values returned are formatted so that they can be used in HTML/CSS.

The complete placeholder has the following structure:

usergrundwerte.controls.<Element>.<Property>
 

For example, %usergrundwerte.controls.FieldEditing.FontFamily% returns the font of an input field in change mode.

An example HTML page can be found in EULANDA on the developer page (Quick Launch Toolbar / System Administration) under "ControlProperties".

items

Caption

Field labeling in input masks

GroupHeader

Group heading in input masks

Field

entry field

FieldEditing

Active input field (change mode)
FieldSearching

active input field (search mode)

FieldViewing

active input field (view mode)

FieldReadonly

Input field (read-only)
FieldHighlighted

Input field (highlighted)

GridHeader

Table heading

Grid

Table cells

GridSelected

Table elements selected

Sidebar  
TreeView

Tree display (for example, characteristic tree)

Menu

menu bar

Title

Title in dialog box

SubTitle

Subtitle in dialog box

SmallTitle

Small font

Surface

surface

Accent

accent color

Background

background color

BackgroundDisable

Background deactivated

Code

Program code (fixed font width)

Property

Color

Font color

ColorDisabled

Font color (disabled)

ColorHilighted

Font color (highlighted)

BackgroundColor

background color
BackgroundColorHilighted

Background color (highlighted)

BackgroundColorDisabled

Background color (disabled)

IconSize

Symbol size (dpi scaled)
IconSizeNative

Symbol size (not scaled)

FontFamily

CSS font family

colorCSS

CSS code only colors

CSS

CSS code for font and color

disabledCSS

CSS code (disabled)

hilightedCSS

CSS code (highlighted)

Session

Analog to "Basic values", the registry key "\SESSION" together with the existing subkeys is returned here, provided that it is available in the respective EULANDA version. The session keys are"volatile" entries that are not stored back in the server. These are therefore only available in the current running process.

Properties (client properties)

With these placeholders, the path of the respective folder is displayed by prefixing"properties. For example, if you want to display the Desktop Order, enter property.folder.desktop. The output is C:\Users\Mustermann\Desktop.

folder.

folder.desktop

desktop

folder.windows

Location Windows

folder.windowstemp

temporary data Windows

folder.eulandatemp

temporary data EULANDA
folder.exe

Location of the exe

folder.client

Background color (disabled)

folder.clientblobcache

 
folder.clientcache

Symbol size (not scaled)

FontFamily

CSS font family

folder.appdata

App Settings Directory

folder.cdburn

CSS code for font and color

folder.mydocuments

Directory own documents

folder.personal

Documents" directory

folder.internetcache  
folder.cookies

Cookies Directory

folder.personal

Documents" directory

folder.history

History of Internet Explore

folder.localappdata

Directory of temporary web browser data

folder.programfiles

Registering the programs

folder.commonappdata

File directory with application data of all users

folder.mypictures

Directory"own pictures

folder.myvideo

Own videos" directory

folder.programfilescommon

Shared Files Directory

folder.commondocuments

Shared Documents" directory

folder.commonadmintools

Shared Admistrative Tools" directory

folder.admintools  
folder.startup

Directory "Autostart" of the programs

folder.datalinkdir

Directory of links for the ADO data sources

folder.udllocalappdata  

 

global.

global.primarylang

Main language of the client

global.primarylocal

 

global.uilang

user's language

global.defprintlang

 
folder.exe

Location of the exe

global.defprintlocal  

client.

client.number

user number

exe.

exe.main version

main version

exe.subversion

subversion

exe.release

Output of the main / secondary version

exe.build

internal number of the exe assembly

exe.version

exe version

exe.fullversion

Version of the main program with build

exe.udlfilename  
exe.full name  

wts

wts.clientname

login

wts.clientaddress

user address

wts.domainname

domain name

wts.clientdirectory  

iexplorer

iexplorer.version

Explorer version

iexplorer.majorversion

version number

Templates

Starting with version 6, EULANDA offers the possibility of data object related or general text templates. Depending on the equipment line, these sample templates can also be adapted or supplemented with your own templates.

Example

Displays the text that is also generated by"Address in clipboard

ellib.ShowMessage _
ellib.ReplaceObjectValues("%template.cnsoft.toClipboard%","AD",13705,"")
template.cnsoft.toClipboard

Template of "address in clipboard"

template.cnsoft.EmailDisclaimer

Block of text with disclaimer for e-mails

Features

Query whether an EULANDA feature is active. The structure is as follows:

feature.<name of the feature>

A"0" is returned for"Feature not active or not available" and"1" for"Feature is active". The required feature name can be found in the settings under "Features and program functions". After selecting a feature, the "internal name" is displayed in the "additional information" area.

feature.headings

Title management" feature

feature.partslists

BOMs" feature

Example

For example, by querying the existing features, subareas are shown and hidden in the short info "Active processes" (internal name: cnsoft.Common.Active processes) on the start page.

System variables

In addition, the following two system variables are allowed.

system.today

Current date in dd.mm.yyyyy format

system.today_iso

Current date in ISO format yyyyy-mm-dd

system.username

Windows username

system.pcname

Name of the PC

system.ismorning

For greeting formula depending on time of day: 1, between 5 a.m. and 11:59 a.m., otherwise 0