BusinessObjects Board

4.2 SP6 Restful View WebI Query Context

Hi,

Has anyone been able to extract the query context using the Restful API? I can extract basic query details :
[list]Result Objects
Filter Objects
Query SQL
Detect whether reset context on refresh is selected
[/list]

but for the life of me I can’t extract the query context.

Alistair


FrustratedScot :uk: (BOB member since 2006-04-27)

Been digging into this a bit more and it seems that the following URL will return the context sometimes, along with any prompts on the report :

“/biprws/raylight/v1/documents/” + reportID + “/dataproviders/” + queryID + “/parameters”

I’ve tried resetting the context on some queries to see if that helps but it didn’t make a difference.


FrustratedScot :uk: (BOB member since 2006-04-27)

Raised a call with SAP support.
The context is only returned using the REST API if a query is setup to refresh context on refresh, or if the query has no prompts.
SAP Support raised this with development and this is the expected behaviour.

Raised an idea to address this :

https://influence.sap.com/sap/ino/#/idea/231795


FrustratedScot :uk: (BOB member since 2006-04-27)

+1 Votes


Hayden_Gill :australia: (BOB member since 2002-08-15)

Thank you
:slight_smile:


FrustratedScot :uk: (BOB member since 2006-04-27)