Author |
Message |
FrustratedScot Senior Member


Joined: 27 Apr 2006
             Posts: 43 Location: Glasgow

|
Posted: Thu May 30, 2019 3:16 am Post subject: 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 :
Result Objects
Filter Objects
Query SQL
Detect whether reset context on refresh is selected
but for the life of me I can't extract the query context.
Alistair |
|
Back to top |
|
 |
FrustratedScot Senior Member


Joined: 27 Apr 2006
             Posts: 43 Location: Glasgow

|
Posted: Thu May 30, 2019 6:07 am Post subject: Re: 4.2 SP6 Restful View WebI Query Context |
|
|
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. |
|
Back to top |
|
 |
FrustratedScot Senior Member


Joined: 27 Apr 2006
             Posts: 43 Location: Glasgow

|
Posted: Tue Jun 04, 2019 3:50 am Post subject: Re: 4.2 SP6 Restful View WebI Query Context |
|
|
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 |
|
Back to top |
|
 |
Hayden_Gill Forum Associate


Joined: 15 Aug 2002
                 Posts: 620 Location: Brisbane, Australia

|
Posted: Tue Jun 25, 2019 6:37 pm Post subject: Re: 4.2 SP6 Restful View WebI Query Context |
|
|
+1 Votes _________________ Hayden Gill
Associate Director, BI
The University of Queensland
Brisbane, Australia
http://pbi.uq.edu.au |
|
Back to top |
|
 |
FrustratedScot Senior Member


Joined: 27 Apr 2006
             Posts: 43 Location: Glasgow

|
Posted: Wed Jun 26, 2019 2:44 am Post subject: Re: 4.2 SP6 Restful View WebI Query Context |
|
|
Thank you
 |
|
Back to top |
|
 |
|