The thing I want to accomplish is to run a report instance from the SAP BO portal with the same parameters (Document type, destination, etc) as given during scheduling the report. This can be done on the BI portal in the following way:
(Right Click on the) Report -> (Select) History -> (Right Click on any pending) schedule -> Select Run Now
(A new instance is created and the destination and format remains the same)
The solution I was trying, is to get details of a schedule nd use the same parameters and run the report now.
I tried using this URIs:
Get http:///v1///schedules/<schedule_id> (Gives details of the schedule)
Get http:///v1///instances/<instance_id> (Gives details of the instances of the schedule)
Both the responses don't have the destination details.
My question is how do I get the destination details?
Or is there any other way to accomplish running an instance of a schedule now?
PS: The report has already been scheduled in the portal, I just want to run an instance of the report through the Rest API and keep the parameters(including the destination paramter) same as that for the schedule.
Any help would be really appreciated ☺️
Thank you.
It's simple: if you don't see the destination details in the response, the scheduled report is using the default destination. Excerpt from API docu:
(GET .../documents//schedules/)
Is optional. If no destination is specified, then the default destination is the one defined by the administrator on the BI platform via the CMC ( Servers Web Intelligence Services Adaptive Job Server Destination )
I don't know whether it is possible to retrieve the server default destination, but I assume not.
Related
We are planning to publish our powerbi reports in our sub-domain as a product for our customers. Our reports are refreshing on scheduled manner as new data arrives; hourly, daily, or per 3 hours (or live) etc. We initially tried to use 'publish to web' option, but we realise there is about one hour to see updates on published reports. We need it to be updated as scheduled update occurs.
We are considering to use embedded reports, but we could not find too much any information about how it refreshes. (we are using mysql as datasource for most of our reports)
Can we use embedded reports for that aim? Would it be refreshed instantly as we scheduled refresh our dataset/reports? Or are there any seperate methodology for refreshing embedded reports?
Power BI Embedded reports' data refresh is subject to how you define the refresh policy in Power BI. You can define a Scheduled Refresh (up to a limit defined by your capacity) or you can trigger a Refresh Now API call as described here:
https://powerbi.microsoft.com/en-us/blog/announcing-data-refresh-apis-in-the-power-bi-service/
As for the report's data, once the dataset is refreshed, any new render of the report would show the updated data.
If during the same session, you'd want to refresh the view of the report (by knowing that it has newer data) you can always call the Javascript SDK's report.refresh() call on the report.
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embedding---Basic-interactions#refresh-a-report
Please refer my article which explains about the data-set refresh manually and also using the WebAPI services
https://snkrishnan1.wordpress.com/2018/07/07/powerbi-dataset-refresh-using-net-webapi-service/
I want to be able to deploy a report and this deploy should take care of the an email subscription and set the report run schedule; I shouldn't have to manually create a subscription later on and if a new subscription is to be applied, I should be able to update the subscription with report deploy only. If somebody could provide a generic subscription element template to copy and paste in the rdl file, will be a great help.
Subscriptions are not part of the RDL file.
There is no way you can do what you want if you want it to deploy using right-click:deploy.
If you are using some automated process for deployment (rs.exe, SSRS webservice etc), you can set up subscriptions, but it would be a lot of work
From everything I have found, I do not see how you can create a subscription. I have found a lot on altering an existing subscription though:
https://msdn.microsoft.com/en-us/library/dn747196.aspx#bkmk_how_to
No instruction of rCREATING via PS, only mods:
https://msdn.microsoft.com/en-us/library/ms156307(v=sql.130).aspx
you may be able to create the subscription ion a STAGE environment then transfer it to Prod as part of your post deployment
Is it possible in BusinessObjects 4.0/4.1 to do the following:
Create a report in PDF format
Transfer and store the report on some Windows Share folder
Schedule this process
It this is possible, can anyone give short guidelines on how to do it? Thanks!
Sure, that's basic scheduling functionality.
From Launchpad, right-click on the report and hit "Schedule".
Click the recurrence tab to set the scheduling recurrence.
Click the Formats tab and select Acrobat.
Click the Destinations tab and select File System.
One important note on Destinations -- you can optionally enter the Windows user name and password that will be used to connect to the file share when the report is generated. You can leave this blank, in which case the BO server will connect to the file share as the account that BO runs as (that is, the user name that the SIA service runs as). In this case, the service account must have r/w permission to the file share. On the other hand, if you enter credentials manually, you need to make sure that any recurring schedules get updated if/when you change the accounts password, else the account will quickly get locked out (I know from experience....)
For more info, click the Help menu in Launchpad, then review the section on Scheduling Objects.
I am not able to create subscriptions for SSRS reports as it gives the following error:
Subscriptions cannot be created because the credentials used to run
the report are not stored, or if a linked report, the link is no
longer valid.
My set up is as following:
ServerA - Database Server
ServerB - Report Server
MachineC - Internet explorer to view the reports
So I am viewing reports on Machine C, IE, and ServerB connects to ServerA for Datasource.
The problem sounds like the report expects the user to provide credentials when it is viewed. When you create a subscription, it does not have the credentials to execute the report.
Go to the report, click the properties tab, then choose Data Sources in the left pane.
Are you using a shared data source? Is it using Windows integrated security? If so, can you change it to use a service account made just to run these reports? You may need to view these properties by viewing the data source itself.
If it is a custom data source is the option "Credentials supplied by the user running the report" selected? If so, can you change it to "Credentials stored securely in the report server"?
Either way, if you want to set up a subscription, I have made it work by providing credentials in the data source rather than have the user input them.
If you are worried about security, I would suggest managing that on the report level rather than the data source level.
What the error does not make clear is, in order to be able to subscribe to a report not only must the data source be set to "Credentials stored securely in the report server" you must also not select the option "Impersonate the authenticated user after a connection has been made to the data source".
The way I did was to create a new data source in the report builder and explicitly provided the username and password there to be used.
Then, used that username password with the new data source with the report and voila it worked.
I faced same issue as you, and i found its solution, as #richard said already that it is related to credential of data source you use for your deployed report.
To resolve it Follow these steps:
1. Right click on your shared Data source which you use in your deployed report.
2. Click On Edit Button.
3. a new window will open click on Credential from left pane, Select Use this user name and password then click ok.
4. Check on Save these credential option you get on to previous screen.
5. Test connection and if succeed click ok and deploy your project on report server.
For reference plese look at screen shot given below:
Thanks.
I currently use www.discountasp.net for my web hosting. When a customer places an order I want to find a way that I can get a pdf version of the invoice to my local machine. The reason I want to do this is that I'd like to have a schedule task on my local machine that grabs all orders from the day at a specified time and print the pdf documents off ready for me to pack the goods. At the very worst I'd like to have them as attachments to emails sent to my machine.
I can see that SQL reporting can export to pdf so I'm assuming I can somehow pass an order id to a page that calls the SQL report to generate the invoice and send me the file. The other option is to store the invoice on the server and I'll create a script that logs in, copies it down, then clears it off. I've had 'slight' exposure to working with SQL Reports before but nothing along this line.
Has anyone got any experience with something like this that would know and possibly specific experience with it being hosted on discountasp.net to let me know if it's possible? Could you give me some advice on what to do or how to do it to solve my issue?
Yes it can.
Reporting Services includes an e-mail
delivery extension that provides a way
to e-mail a report to individual users
or groups. The e-mail delivery
extension is configured through the
Reporting Services Configuration tool
and by editing the Reporting Services
configuration files.
E-Mail Delivery in Reporting Services