You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Overview

The built-in WebData Editor allows to define the data struct for JSON,  XML, HTML, or Text, content. 

The Encoding drop-down menu is read-only on the WebData Editor, the definition of the data format, but be made when creating the WebData object.

On this page:


Selecting the WebData object

  1. Go to Reports / WebData and select one object in the Table or Create a new one.
  2. Go to Reports / Web Data Editor. The selected WebData content will be used by the editor.

In order to select other documents, or create new ones, the ComboBox and the Document Toolbar in top of the editor can be used. 


Editing the Content

Add Binding to Real-Time Tags

When greening the file with the Data (or sending to a WebService), you replace parts of the text by Tags, just using the same syntax or ReportForms, embracing the TagName with curly brackets. 

Eg.:   Replace "Name" :  "John Robinson" by  "Name" : "{{Tag.MyTagWithTheName}}"

The value of Tag.MyTagWithTheName will be using when greeting the file or data package.

When loading files from disk, or receiving data packages from WebSerices, the operation is reversed. if Tags are used, they will be populated with contents after parsing the contents of the received data.


In this section:

The root page @parent could not be found in space v10.

  • No labels