BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Follow BOB on Twitter! 
Follow BOB on Twitter! (Opens a new window)  

General Notice: BOB is going to retire...please see details here.
General Notice: No events within the next 45 days.

4.2 SP6 Restful View WebI Query Context


 
Search this topic... | Search SDK (VBA/ASP/JSP)... | Search Box
Register or Login to Post    Forum Index -> SDK (VBA/ASP/JSP)  Previous TopicPrint TopicNext Topic
Author Message
FrustratedScot
Senior Member
Senior Member



Joined: 27 Apr 2006

Posts: 43
Location: Glasgow


flag
PostPosted: 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
Senior Member



Joined: 27 Apr 2006

Posts: 43
Location: Glasgow


flag
PostPosted: 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
Senior Member



Joined: 27 Apr 2006

Posts: 43
Location: Glasgow


flag
PostPosted: 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
Forum Associate



Joined: 15 Aug 2002

Posts: 620
Location: Brisbane, Australia


flag
PostPosted: 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
Senior Member



Joined: 27 Apr 2006

Posts: 43
Location: Glasgow


flag
PostPosted: Wed Jun 26, 2019 2:44 am 
Post subject: Re: 4.2 SP6 Restful View WebI Query Context

Thank you
icon_smile.gif
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> SDK (VBA/ASP/JSP)  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0876 seconds using 17 queries. (SQL 0.0631 Parse 0.0009 Other 0.0237)
CCBot/2.0 (https://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo