cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Run4Fun
Level 4

Calling a report from Business adapter studio

Jump to solution

Hi there,

We are currently using Business Adapter Studio with  webservice - Soap element (GetCustomViewResult object) to call a specific saved view to extract some data to our staging database (see code below). 

We would like to do the same with specific saved reports. Is there anything similar to call a specific report based on the reportID?  

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>
<GetCustomView xmlns="http://tempuri.org/">
<customViewID> 1234</customViewID>
<searchString></searchString>
<rowLimit>100000</rowLimit>
<tenantUID> OurTenantUID</tenantUID>
</GetCustomView>
</soap:Body>
</soap:Envelope>

 

0 Kudos
1 Solution
ChrisG
Community Manager Community Manager
Community Manager

I'm not sure if I'm understanding your question correctly, but you can change the value in the <customViewID> element to specify the ID of the saved report that you want to run. You can get the relevant ID from the number that appears in the URL in your browser when you view the report.

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

View solution in original post

0 Kudos
3 Replies
ChrisG
Community Manager Community Manager
Community Manager

I'm not sure if I'm understanding your question correctly, but you can change the value in the <customViewID> element to specify the ID of the saved report that you want to run. You can get the relevant ID from the number that appears in the URL in your browser when you view the report.

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)
0 Kudos

Hi @ChrisG ,

Let me clarify the request.

The default compliance report available through "Reporting/Compliance Reports/Licenses Consumed and Purchased by Corporate Unit" doesn't have a ReportID in order to be called by a GetCustomView method. 

So I have duplicated the default report (saved as private report), this way I now have a kind of ReportID (https://slo.app.flexera.eu/Suite/Reports/LicenseConsumedAndPurchasedByCorporateUnit?_reportId=7201).
But every time I tried to invoke the GetcustomView with the associated ReportID (7201), I got this error message (see attached screenshot).  If I use the same mechanism with another private report I developed earlier, it works well. 

So my question, is it possible to call default compliance report through the GetcustomView or other Soap method ?  
 

 

0 Kudos
ChrisG
Community Manager Community Manager
Community Manager

Ahh, got it. I'd refer to these pages as "management views", or less formally "grid pages". They are not "reports" in the sense of what you can configure by selecting objects and properties to be reported on in the "Reporting" area.

Unfortunately there is no SOAP API to receive data from these types of pages

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)
0 Kudos