Object PmWebLang (Web language versions)

The object represents several Web addresses, each of them corresponnds to one language version. The number of language versions is set by "All used languages" configurator in PmRoot object.

If the application is defined only for one language (if there are no other languages defined in "All used languages" configurator), then the PmWebLang object is irrelevant and should not be used.

No other PROMOTIC objects can be created in this object.
In the PmWebLang object it is possible to create the PmWebFolder, PmWebDir and PmWebInfo objects. The PmWebLang object can be created in the PmWeb object. There can be only one PmWebLang object in the PmWeb object.

The client requiring data from this Web component is type of "PmDataClient" from the license point of view. But nested Web components already have their own licenses, for example, Web panels, Alarms and Events, Trends, can be viewed only by clients of the "PmWebClient" type.

This object adopts properties and methods of object PmObject
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Permissions Object permissions
Except the objects inserted directly, also another objects (Web components) located elsewhere in the object tree can be registered into this object (e.g. PmPanel, PmWorkspace, PmTrend, PmAlarmEvent, PmData objects, etc.). These extra objects are registered into the object using the Web server page in the PmWeb object configurator. All these objects will become Web subcomponent of this object, i.e. URL address of these subcomponents will begin with the URL address of this object.

It is useful to register into the PmWebLang object only those Web subcomponents that are language dependent (e.g. PmPanel, PmTrend, PmAlarmEvent). The objects that are language independent (e.g. PmData) are usually registered outside this object.

The PmTrend and PmAlarmEvent objects HTML pages are automatically translated by the PROMOTIC system. The PmPanel object represents a page created by the designer. It is possible to display such panel in multiple languages when using Macro expression $.text instead of static texts.

From the Web client point of view the files offered by the PmWebLang object are accessible on the URL address:
where lang is language identifier and it can be for example: en (English), cs (Czech), sk (Slovak), pl (Polish), de (German), ru (Russian)...

The Web components registered to this object are accessible on the URL address (e.g. for Russian):

PROMOTIC 8.3.20 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice