![]() |
VOOZH | about |
Integrate connectivity to XML data into your enterprise reporting capabilities. The CData ODBC Driver for XML enables you to access live XML data in business intelligence tools like Tableau Server. Connectivity to XML APIs enables you to monitor changes to your data in real time. Other members of your organization can access your dashboards from a Web browser and get updates from their mobile phone.
This article explains how to configure a DSN on the client and server machines, publish a data source for XML to Tableau Server, and publish an entire Workbook to Tableau Server (including the data source). If you publish a data source, you will be able to create new, refreshable workbooks in Tableau Server.
To create a data source or workbook in Tableau Desktop and publish the data source or workbook to Tableau server, you will need to configure a DSN on each machine (Desktop and Server), specifying connection properties and creating DSNs using the same name on each machine. Information for connecting to XML follows, along with different instructions for configuring a DSN in Windows and Linux environments.
CData Drivers let you work with XML files stored locally and stored in cloud storage services like Box, Amazon S3, Google Drive, or SharePoint, right where they are.
Set the URI property to local folder path.
To connect to XML file(s) within Amazon S3, set the URI property to the URI of the Bucket and Folder where the intended XML files exist. In addition, at least set these properties:
To connect to XML file(s) within Box, set the URI property to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect to Box.
To connect to XML file(s) within Dropbox, set the URI proprerty to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect to Dropbox. Either User Account or Service Account can be used to authenticate.
To connect to XML file(s) within SharePoint with SOAP Schema, set the URI proprerty to the URI of the document library that includes the intended XML file. Set User, Password, and StorageBaseURL.
To connect to XML file(s) within SharePoint with REST Schema, set the URI proprerty to the URI of the document library that includes the intended XML file. StorageBaseURL is optional. If not set, the driver will use the root drive. OAuth is used to authenticate.
To connect to XML file(s) within Google Drive, set the URI property to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect and set InitiateOAuth to GETANDREFRESH.
The property is the controlling property over how your data is represented into tables and toggles the following basic configurations.
See the Modeling XML Data chapter for more information on configuring the relational representation. You will also find the sample data used in the following examples. The data includes entries for people, the cars they own, and various maintenance services performed on those cars.
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
If you are installing the CData ODBC Driver for XML on Windows, DSN configuration is the last step of the driver installation. If you already have the driver installed, or you wish to configure new DSNs, you can use the Microsoft ODBC Data Source Administrator.
If you are installing the CData ODBC Driver for XML in a Linux environment, the driver installation predefines a system DSN. You can modify the DSN by editing the system data sources file (/etc/odbc.ini) and defining the required connection properties.
[CData XML Source] Driver = CData ODBC Driver for XML Description = My Description URI = C:/people.xml DataModel = Relational
For specific information on using these configuration files, please refer to the help documentation (installed and found online).
With the connections to XML data configured, you are ready to publish a XML data source on Tableau, ready to be leveraged by users in your organization to create workbooks based on XML data.
In the Connect pane, click More -> Other Databases (ODBC). Select CData XML Sys, the system DSN.
The driver installation automatically creates matching user and system DSNs: The system DSN is needed to connect from Tableau Server.
π The connection to the DSN. (Salesforce is shown.)You and other users in your organization can now create and share workbooks based on the published data source.
π Connectivity to your data source from the Web authoring environment in Tableau Server. (Salesforce is shown.)With a system DSN configured on the client (Tableau Desktop) machine and server (Tableau Server) machine, you can refresh workbooks connected to the XML data source. From the Web interface for Tableau Sever, click Data -> (YOUR DATA SOURCE) -> Refresh.
π Refresh the data extract on demand from Tableau Desktop. (Salesforce is shown.)If you have a specific Workbook that you wish to share with your organization, you can create the Workbook on Tableau Desktop and publish the Workbook directly to Tableau Server.
You and other users in your organization can now review the published workbook from Tableau Server.
π Connectivity to your published Workbook from the Web authoring environment in Tableau Server. (Salesforce is shown.)Download a free trial of the XML ODBC Driver to get started:
Download NowLearn more:
π XML Documents IconThe XML ODBC Driver is a powerful tool that allows you to connect with live XML data stores, directly from any applications that support ODBC connectivity.
Access XML data like you would any standard database - read, write, and update etc. through a standard ODBC Driver interface.