Web server - page of object PmData

The link-up of the object to the Web server
Configuration items:
Enable as Web componentSpecifies whether this object has to be registered as a Web server component
PmWeb objectPath in the objects tree to the PmWeb, PmWebFolder or PmWebLang object where the registration is carried out.

Macro expression can be used for input (it is evaluated while the application is launching).

Web component identifierSpecifies unique identifier of this Web component. The full URL address to this component is then for example:


Macro expression can be used for input (it is evaluated while the application is launching).

View in HTML components listIf checked, then the component will be visible in the component list. Displaying such list is done through the Web object registering this component (Web object PmWeb, PmWebFolder or PmWebLang).

If not checked, then the component will not be visible in the list. But it will be accessible through its Web adress. It is useful for system components (e.g. the data offered to another applications), that are not intended to be choosen from Web browsers.

When displaying the component list in the Web browser this option can be supressed by pressing the Shift key and clicking the list title simultaneously. At this moment the list is reopened displaying all the components (including system components).

By this page it is possible to register the object as a component into the Web server (i.e. into the PmWeb, PmWebFolder or PmWebLang object).

The client who wants to read the data from this component, must have the permission WebRead. If the client wants to write the data, then he must have the permission WebWrite. The client requiring data from this Web component is type of "PmDataClient" from the license point of view.

If the object is registered, then it offers the Web pages in the intranet on the following URL address:


ComputerName - network computer name on which this PROMOTIC application runs.
Port - port set in the PmWeb object (if the port equals to 80, then it needn't be entered)
ComponentId - if the component is directly registered with the PmWeb object, then the text is stated here in the configurator "Web component identifier" on this page. If the component is registered with the PmWebFolder or PmWebLang object, then the identifier of this object is here even before, for example, "IdFolder/IdComponent", etc.
Page - page name that is offered by the object. If the page isn't entered, then the default page will be displayed.
Another offered page is data.xml that offers the content of the variables in the PmData object as XML data. But these XML data can even have variant format so the fmt parameter has to be entered that specifies the format of offered XML data. The following formats are available:
- "data.xml?fmt=full" offers XML data inclusive list of variables and for each variable its name and value.
- "data.xml?fmt=purevalue" offers XML data inclusive of the values list separated by semicolon.
Thus the Web client has an access to the XML data of the application, it can read the data and write into them. The common client is the Web browser (Chrome, Firefox, Edge, InternetExplorer ..) or another PROMOTIC application. Another PROMOTIC application as a client then makes use of the PmData.ReadFromWeb or PmData.WriteToWeb method.
PROMOTIC 8.3.30 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