create datasource using web service
Answered
As a part of our provisioning procedure we need:
- create data source for a client organization
- set up data source substitution for data source in default client org
How can this steps be implemented using web service calls? The current list of webservices can only update existing datasource.
Hi there,
Our Wiki has some information on creating and managing data sources: https://wiki.yellowfinbi.com/display/yfcurrent/Data+Source+Management+Services
Specifically the SAVEDATASOURCE service can both create and update data sources. They can only be created for the default organisation but you can then follow it up with a METADATASQLQUERY to attach it to the client org.
For data source substitution, there is the service LINKDATASOURCE, which I believe is what you are looking for. It can link a default org data source with client org sources, such that a view can substitute in different data sources depending on the client org.
More information and code examples can be found on the above linked page.
Let me know if that answers your question.
Kind regards,
Chris
Hi there,
Our Wiki has some information on creating and managing data sources: https://wiki.yellowfinbi.com/display/yfcurrent/Data+Source+Management+Services
Specifically the SAVEDATASOURCE service can both create and update data sources. They can only be created for the default organisation but you can then follow it up with a METADATASQLQUERY to attach it to the client org.
For data source substitution, there is the service LINKDATASOURCE, which I believe is what you are looking for. It can link a default org data source with client org sources, such that a view can substitute in different data sources depending on the client org.
More information and code examples can be found on the above linked page.
Let me know if that answers your question.
Kind regards,
Chris
It is possible to create a datasource in the client org using the SOAP API. It will work if you use a client org user in your request. For example:
You should then be able to link the primary org source with this one using LINKDATASOURCE. Make sure you're logged in as a primary org user in this case.Deepak
It is possible to create a datasource in the client org using the SOAP API. It will work if you use a client org user in your request. For example:
You should then be able to link the primary org source with this one using LINKDATASOURCE. Make sure you're logged in as a primary org user in this case.Deepak
Hi,
Just wanted to let you know I'll be closing this request due to inactivity. However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Regards,
Chris
Hi,
Just wanted to let you know I'll be closing this request due to inactivity. However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Regards,
Chris
Press ‘Win’ + ‘R’
Press ‘Win’ + ‘R’
Replies have been locked on this page!