You are here:
< Back

 

 

 XML connections

If you want to display data in your content, which can be altered any time, but you do not want to edit your content each time the data changes, you can use XML data binding.

 

 

You can connect an XML and use its data by following this guide:
 

 

 

You can use your own XML file or a simple Google Spreadsheet to create xml connection.
Just create a spreadsheet like this.

First you have to publish your document, go to:
File->publish on web… -> choose: Entire Document and Web Page -> click Publish

Get back to the spreadsheet editor interface
and copy the ID from the URL. (Text highlighted with red)

https://docs.google.com/spreadsheets/d/

1BVqnifu16QgYuaOPBUcTeCD0ZvJoPT-YvBuvc1Kez8Y

/edit#gid=0

Than replace the “Your_ID_Comes_Here” text with your ID in this URL:

https://spreadsheets.google.com/feeds/list/

Your_ID_Comes_Here

/od6/public/values

You will use this URL in the next steps.

 

 

 On the Administrator page, under the Datasources menu, add a new datasource.

Note that only users with SuperAdmin role can acces this menu!

 

 

Choose your datasource a name, which will be displayed in the Datapicker.

Select the client whom contents you want your datasource to use on.

Add the XML file’s URL or the URL that we created in the first step.

Save your datasource.

 

 

 

You can use data binding on elements where there is an option for Datapicker.
Elements with data binding option:

Also, all the dynamic charts can only be used with data binding.

Meter, List, Pie, Bar, Column, Line, Area, Pyramid, Gauge.

 

 For the example, I chose the List Dynamic chart element.

 

In the data picker, select your datasource.

After the selection, the column names will be displayed.
Choose the columns you want to display on your content.

You can even set the columns’ width (in pixel), text and background color,
the label (the column’s name),
alignment and the type of data, which can be Text or Image.

The columns can be dragged up and down.
This way you can set the order the columns will be shown.

Now, you can start formatting your content to your own liking.

Comments are closed.