What are my options for connecting to OAC that has been setup with RPD models, and hit a REST endpoint to run queries against the subject areas?
Hi Jaber, Welcome to the Oracle Analytics Community! The following document lists data source supported for the semantic modelsData Sources Supported for Semantic Models Rest API is not supported for data models, but it is supported for connections with datasetsList of Supported Data Sources in Oracle Analytics Cloud > REST API
For anything not currently supported, you would need to file an Ideas lab request (after searching for any already exists).Oracle Analytics Idea Lab
Thanks for posting your question.
Thanks, so that means whatever is published under the "semantic data model" approach would need to be published or made available as a "dataset"? How would that normally happen?
Hi @user13092632 ,
I maybe understand your question wrongly, but if you are asking how you can query your own subject areas built in your RPD and deployed in your OAC, then you can look at the good old SOAP web services that are available for more than 15 years.
https://docs.oracle.com/middleware/1221/biee/BIEIT/methods.htm#i1012352
Right now they aren't part of the OAC documentation, it's a work in progress, but you can see the available services in the above link (OAC has the same services as OBIEE 12c, the only difference is that you can now call the services with a token instead of having to do a login via the dedicated web service).
If you call executeSQLQuery (which take a LSQL query as parameter, not physical SQL), you can execute any query you want against your subject areas.
executeSQLQuery
Promising thanks a ton.
There is also a REST API in DV that let you execute queries (I believe it mostly takes a XML/JSON query instead of directly a LSQL query), but as far as I know, it isn't publicly documented so far. Here again it's something that should come at some point.
The whole DV is fully based on REST APIs, but most of them were considered "internal" and not documented. If you look at your browser developer extension and the various async request executed when you open a workbook, you will easily see that the data on screen is retrieved by an async request, it just isn't as "simple" as the SOAP service described above, because of the missing documentation right now.
And to answer your question:
so that means whatever is published under the "semantic data model" approach would need to be published or made available as a "dataset"?
No, just call the linked SOAP service and you can query directly your subject areas without needing to turn them into a DV dataset.Historically it was also possible to create an ODBC connection to the BI Server directly to query the subject areas via ODBC. I just didn't try that in OAC (last time I did it, I used OBIEE 12c), it maybe isn't going to work because OAC only expose a limited number of services and ports.
Forget ODBC, Steve posted below the link to the doc for a JDBC connection that definitely works in OAC.
I think I probably misunderstood the question as well, and may have answered too quickly.
(ps: I didn't mark it answered) Another alternative. You can use the BIJDBC connector.
Overview to Querying Oracle Analytics Cloud Semantic Models Remotely
It's making sense now. :)
If you want to see a PDF / PNG of a DV canvas then we have a REST endpoint in early adopter that will provide that?
We have migrated OBIEE dashboards to Oracle Analytics Cloud and need to automate exporting an entire Classic dashboard page as PDF or xls or csv. Our requirement is to: Pass Business Date and Credit Support ID dynamically. Export the complete dashboard page, including multiple analyses and conditional sections. Invoke the…
We are troubleshooting a BI Publisher price-book report where DCL and DCF Customer Price Groups are missing. The existing report uses the CPG pricing matrix dimension, where we found DC1, DC2, INX, and XST, but not DCL/DCF. DCF was found separately under: LineCustomerPriceGroup = DCF Adjustment Type = PRICE_OVERRIDE…
Dear Oracle Support Team, I need assistance uninstalling Oracle AI Database 26ai Free from my Windows 11 Home laptop. System configuration Operating System: Windows 11 Home Processor: Intel Core i5 RAM: 8 GB Oracle Product: Oracle AI Database 26ai Free Product Version: 23.0.0.0 Installer:…
Hello Oracle Analytics Community, We are investigating a dashboard compatibility issue between Oracle Analytics Server (OAS) 7.6 and OAS 7.0. Some dashboards originally created in Oracle BI 12c can be opened in OAS 7.6 but fail to open after being archived and imported into OAS 7.0. During our investigation, we found the…
We have a requirement Creating a Bar graph using Cost Center Tree hierarchy as prompt/filter in DV. Created a Bar Graph using Cost Center Tree Hierarchy as a prompt. When I'm selecting values through selection steps from Cost Center Tree Hierarchy, the Bar Graph not refreshing as the selected values are not passing to…