on 07-27-2018 3:00 PM
In our system we have around 3000 WebI Reports.
Now we need to know out of these how many are using Free Hand SQL or Customize SQL.
Motive behind this activity: We are doing some changes at universe level so if any report is using FHSQL, universe changes will not be effective.
You could write a script using the Webi RESTful SDK to do this.
Loop through the webi documents and check each dataprovider in the document.
The api:
GET /biprws/raylight/v1/<documentID>/dataproviders
will return the list of dataproviders in a document and the type of datasource used.
A datasource can be: unv, unx, bex, excel or fhsql. For freehand SQL the datasource would look something like:
<dataproviders>
<dataprovider>
<id>12345</id>
<name>Query 1</name>
<dataSourceId>678</dataSourceId>
<dataSourceType>fhsql</dataSourceType>
</dataprovider>
</dataproviders>
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.