How to open a Webi report from Design Studio? - sap

We have recently installed Design Studio 1.5 and trying to call existing Webi reports through Design Studio.
Can anyone please let me know the steps involved to attain this?

For this you need to use the OpenDocument feature.
Have a look at help.sap.com which contains all the manuals for SAP products. Specifically this page contains the OpenDocument manuals (search the page for OpenDocument and select the version corresponding to your BI4 deployment).
In a nutshell (you can find all the information you need in the aforementioned manuals): the OpenDocument feature is basically a URL in which you provide the necessary parameters (docID, parameters, …) to open and optionally refresh your report. As it's a URL, you can embed it just about anywhere (an HTML page, a Design Studio app, … even another Webi document!).

Once you have the OpenDocument URL of the Webi report, you can use the scripting function APPLICATION.openNewWindow(newUrl) in the Design Studio client, and pass in the URL. As Kristof suggested, check on SCN where there are many users writing guides and discussions on how to get the URL.

Related

Can I export existing Salesforce reports by SOQL even if they were made in the SF UI?

I am relocating our Salesforce reports from Salesforce to another tool. Salesforce has SOQL and the new system has SQL so I think the simplest way to migrate is to modify the SOQL statements to SQL, rather than recreate each report using the new tool's UI.
Can I do this? I've looked up other similar questions here on Stackoverflow, but the answers are far more complex than I can understand. I need extremely basic instructions on where to find the SOQL for each report in Salesforce.
Thank you!
Salesforce doesn't have a native tool to convert a Report to SOQL. There are a couple of workarounds to get close to a 1:1 conversion but both will still require some manual input on your part.
Using Change Sets
Install the Salesforce Change Set Helper Chrome Extension
Create an Outbound Change Set and add your reports as components
Click the Download metadata button (this comes from the extension)
Unzip the file
Open one of the .report files in a text editor
From here you can use an XML parser to programmatically generate a string for your SELECT criteria by targeting anything between the <columns> tags. Your FROM criteria can be targeted through the <reportType> tags.
Manual
Download the Salesforce Inspector Chrome Extension
Pull up your report in one window
In another window, open your Salesforce org and click the < but on the right side of your screen (this is from the Extension)
Click Export Data
Reference your report while writing your SOQL query
*Reminder that format should be something like SELECT Insert column's API names comma separated, FROM Insert object API name WHERE Insert filters ORDER BY Insert column to sort by and include ASC for ascending and DESC for descending
Salesforce SOQL Documentation

Need a method to embed rdlc designer in web page

We are working on a web asp.net MVC based project that needs a web-based report builder. We have worked with the rdlc reports before, but, the designer is available only at design time. Is it possible to embed the rdl report designer into a web page? The user should be able to design, save and use the reports through the web page. If no, then are there any alternatives? preferably opensource or free. Also we are open to paid options if they are worth it.
We have tried searching on the topic but haven't been able to find a direction.
Kindly suggest

Custom Report Items in local reports

i have read this article about custom report items(CRI)
http://msdn.microsoft.com/en-us/magazine/cc188686.aspx
The only problem is that CRI are only usable in reporting service and not in local reports. My question is it possible some how to use CRI in local reports( RDLC ). Also i am interested in which version of reporting service is this possible, if possible
Best Regards,
Iordan
Custom report items are not supported in .rdlc files. (http://msdn.microsoft.com/en-us/library/ms251712(v=vs.90).aspx) This is likely the approach taken by Microsoft because the ReportViewer used with these files is a free control, while more complex features like third-party controls are supported only on a full SQL Server report server.
One thing in particular I have done in the past to get around this is generate custom charts/controls/images etc. As images and then send them into the report as an image. Not an ideal solution but it works.

List reports with inline SQL in SQL Server Reporting Services?

I have a couple of inline SQL in many of our reports on the report manager.
Now I need to do some code change for all of them, is there a way to list all those reports based on the inline SQL and not any SP?
Thanks,
D
You can use the reporting services API to get the report from the web service and do a search for the appropriate tags in the XML. The MSDN documentation for the report definition XML schema and diagrams can be found here and a diagram of the data source related parts here. The API documentation can be found here.
You can write .Net programs that upload and download reports from the Reporting Services API, using ReportingService.GetReportDefinition and SetReportDefinition. You can upload or download the report definition into a buffer, which can be read or written to disk. Somewhere I have an Ironpython prototype that does this, which I'll post if I find it.
To use this, you need to query the WSDL and generate a stub. The tool to do this is called WSDL.EXE. If I can find it I'll post it here, but you could just as easily use C#.
There is also a tool called rs.exe that comes with BIDS which takes a VB.net program and tops and tails it with includes for the Reporting Services API. You can use this to execute a VB.Net script from the command line - essentially it tops and tails the program, compiles it behind the scenes and runs it against a report server.
You can either do what NXC suggested or if this is a one time activity, you can simply open the RDL file for the report in a text editor and search for common SQL strings like "select", "delete" etc in order to find the reports which have inline SQL

Password protected PDF/Excel reports using SQL Reporting services

I am generating a reports using SQL Reporting services 2005. I need to protect the protect the reports(pdf and excel) with the password while the user is exporting the report to to excel or pdf.
Is there any way to protect the report.
The short answer is that you can't do this from the provided PDF rendering extension from SSRS 2005 (either from the web UI or programmatically from the SSRS web services). You can, however, create your own rendering extension that could provide this functionality. Here are some links that might help get you started:
Introducing Rendering Extensions
Microsoft SQL Server 2005: Reporting Services
You could take a COTS library, some open-source code, or your own custom code that can create password-protected PDF files, then wrap that into a custom rendering extension for SSRS 2005. In my opinion, however, this would be a relatively difficult task. A quick Google search didn't give me any obvious rendering extensions for sale that might provide the functionality you're looking for.