Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Next »

Add an XML Data Source

The first task is to configure the databases that you wish to synchronise. With the Data Share Connections selected right click and select Add DataSource from the context menu. You will see the following dialog:

Select type for new Data Share connection

Select the XML Feed type and click OK.

add_xml_feed_datashare_datasource

Location

Here you need to enter the URL to the Elgin Roadworks XML data on the iShare Server. This is the file path that is generated by the python script to download the Elgin data and will be the path that you entered as the XMLPath when you customised the download script followed by ElginRoadworks.xml e.g.

D:\Astun\Data\Elgin\ElginRoadworks.xml

Xsl

Browse to the xsl transformation that you wish to use to transform the XML feed. For Elgin you should pick the feedxml-elgin-transform.xsl which can be found in the Studio\config folder.

Name

Enter a name for your XML Feed Data Share connection e.g. Elgin Roadworks.

 

Click OK

Select Elgin fields to be displayed

You may not wish to display all of the fields supplied by Elgin. Click on the Fields entry under the Data Share connection you have just created.

Select Elgin fields to be displayed

Select the fields whose information you wish to display to the user. As you select a field the data, for the first 30 records in the table, will be displayed in the Data Preview.

Click on each field in turn in the View Fields are and you will be able to configure the Field setting.

Display Name

This entry allows you to enter a different description for the field-name to be displayed to the user.

Once you are happy that you have correctly selected the information that you wish to be displayed click Save.


  • No labels