Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Data binding S - Binding to the text file content

Description:
The value of the data binding S is a text get from the selected file.

This data binding is not functional for Web Panels.

Data binding configurators:
File nameName with a path to the file from which the text has to be read. If it goes about the text file, only this configurator has to be filled, Section and Key configurators are not important in this case. In this case the whole content of the text file will be read. The file can be listed by the next button.
SectionSection of the *.ini file from which the text has to be read (fill without brackets).

Macro expression can be used for input (it is evaluated while the window is opening).

KeyKey to the *.ini file from which the text has to be read.

Macro expression can be used for input (it is evaluated while the window is opening).

Note:
Data binding is not limited by text file size (it can bind to text with big size).

If it goes about the INI file in the OS Windows, it is necessary to fill not only the File name configurator but also the Section and Key configurators.

Example:
Let's have the file "Boiler.ini" with the following content
[Boiler1]
Run=1

Number 1 (as a string) from the "Boiler1" section and the "Run" key can be got by setting the configurators as follows:

File name C:\Data\Boiler.ini
Section Boiler1
Key Run
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice