Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Unable to Populate Query Views Using CONNECTION.getChildren

$
0
0

Hi All,

 

I have a requirement that when a query is selected to run the Design Studio application, the query views under the query must be populated in a dropdown list. I am able to do that by asking user to select a query in InforAreas of the Data Source Browser(see image below).

 

here is my code:

var q = CONNECTION.getChildren(CONNECTION.getSelectedDataSource());
if (q.length != 0){
q.forEach(function(element, index) {
DROPDOWN.addItem(element.name element.description);
});

1.png

2.png

See the image above, query views are popuated as a result of selecting a query from InfoAreas.

 

 

 

However there are some issues:

 

Issue 1: When searching for the same query in the Data Source Browser, we are unable to populate query views using CONNECTION.getChildren

3.png

Issue 2: When passing "&XQUERY=[query name]" in the URL to run the DS application in Internet Explorer, we are unable to populate query views using CONNECTION.getChildren

4.png

 

For the same query, because we pass XQUERY in URL instead of opening the query using the Data Source Browser    or    we search the query in the Data Source Browser, the query views are not populated. Please advise!

5.png


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>