on 10-20-2015 10:00 PM
Hi,
I am doing remapping of data providers to a new data source. Some of the data providers require a context. The context in the new data source should have the same name and CUID as the old data source, so I would like to determine what context was used in the old data source programmatically and use that to provide the answer to the context parameter when I am remapping to the new data source.
The information for a data provider does not appear to provide the information I need (e.g. http://server:6405/biprws/raylight/v1/documents/1234/dataproviders/DP0)
Is this possible using the RESTful SDK? Is it possible using the Business Objects BI SDK for .NET?
Thanks!
Hi Ryan,
try: GET /raylight/v1/documents/<docId>/parameters
This should return the contexts to be filled if the parameter returns as type "context" and it should return the previous value.
look in the documentation under "Getting the Refresh Parameters of a Document"
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
I've found that documents that only have contexts as parameters returns the context in the parameters call, but if there are any other prompts (e.g. Report start/end date) then it will only return those prompts and not the contexts. Is this a bug? Is there a way around it? Thanks again.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.