How to create a data source in TIBCO Data Virtualization using an API?
book
Article ID: KB0071765
calendar_today
Updated On:
Products
Versions
TIBCO Data Virtualization
All supported versions
Description
TIBCO Data Virtualization has an inbuilt API - 'createDatasource' that can be used to create a data source without following the normal steps.
The API 'createDatasource' could be found under /services/webservices/system/admin/resource/operations
Environment
All supported versions
Resolution
Below is one such example with some dummy data.
1. Navigate to /services/webservices/system/admin/resource/operations/createDatasource in TDV Studio 2. Right-click and open create Datasource. 3. Then execute create Data source (Top left corner of the open pane) 4. Tweak the XML a bit as per your need. You may use the below and make the required changes.