Powershell to take screenshot from the SSRS report and attache to mail - powershell

How to take screeshot of the SSRS report using powershell and send a mail the same screenshot using Send-Mailmessage.
Is this possible using powershell?
help much appreciated.
thanks in advance

Instead of rolling your own solution based on, say, Graphics.CopyFromScreen(), using SSRS built-in features ought to be much more easy to maintain.
Take a look at file share delivery and subscriptions of SSRS reports.

While it may be possible, it's the wrong approach.
Set up SSRS subscriptions to schedule the execution & delivery of your reports. As part of the subscription, configure it to produce PDF or Excel output (or Word or RTF, if that's more appropriate).

Related

Tableau Server Automating reports

I have many tableau workbooks on our tableau server. I want to automate these workbooks and print them to PDF and email them to specific people.
Could anyone help me with this ?
Thanks in advance
Still there is no option to publish automatically but you can do it with some trick below
there few requirement before you get start.
Your viewer need static IP address so we can access tableau without login and download pdf file click here.
Little knowledge programming i.e. R or Python to send email and hit link to download file click here
You should be able to use the Tableau REST API for this task - there is a feature currently being voted on here: https://community.tableau.com/ideas/5025
This post here has more details for you about a potential workaround that might suit your needs: https://community.tableau.com/docs/DOC-8361

using word files as a template for crystal reports

my client wants the legal department to do all the mailing reports for this system. I want to use Crystal for the reports instead of the clients idea of developing a reports package from scratch. The hangup with crystal is their legal department wants to do the editing of the reports in Word and have a glorified mail merge generate the PDF files that goes off for printing.
Ive played with it for a while, is there a way that i can get Crystal to take in a word document as a template and basically replicate Word's mail merge but on Crystal Server so i have the report history?
Word can not natively act as a template for a RPT file. You could write an application that parses the DOC and applies it a pre-built report using the CR SDK.
I've used Word's mail-merge functionality in the past--it's fairly reliable.
You might also consider JangoMail too. Their email-merge functionality is pretty sophisticated.

How to send a custom email with an attached report based on variables with MS Access? 2003 or 2007

I would need to send an email with standard text (but some custom parts like names and dates) with an attached pdf report generated with ms access. I prefer a solution for access 2003, but if it works on 2007 it's fine too.
Can be done directly from ms-access or I need some other apps/work?
thanks ;)
There are several articles that might come in handy to help you with this.
Creating PDF files from within Access
http://www.granite.ab.ca/access/pdffiles.htm
Report To PDF
http://www.lebans.com/reporttopdf.htm
Using Automation to Send a Microsoft Outlook Message
http://support.microsoft.com/?kbid=161088

Crystal Reports

my problem is that i have to mail crystal reports through outlook to different vendors. I've got the solution how to mail through outlook but the problem that i am facing now is that i have to attach the report and the report should be such that it shows details of a particular row from the database. i tried using .rpt file and attached it but since .rpt is a saved data the same data goes to all the vendors and not a different quotation.
The "rpt" file itself is just the definition of the report. It doesn't contain data. You'll have to run the report and export it in some file format, e.g. as PDF. You could attach that PDF file to your email.
Like splattne said...You would use a report parameter for the vendor. Set the parameter value before calling ReportDocument.ExportToDisk().
There are different options to do what you want. The most popular one is bursting. You will create a report wich returns information for all vendors and group data by vendor. Then use a software to parse and save this report to separate files per vendor, which will be emailed to the vendors' email address ( part of the report too).
If you have BOE you can use bursting publication, otherwise you can check this website for 3rd party solutions , which support bursting: http://kenhamady.com/cru/comparisons/desktop-scheduling-engines
Most of the solutions are paid, but there are generally affordable. There are some free options like this one:
http://www.r-tag.com/Pages/CommunityEdition.aspx

Can you start Crystal Reports 10 in read only mode so users can't create or change a report?

I'm in an environment where I have created reports in CrystalReports 10 and only want my users to view the report from an external application. The application is already set up to open the report with crystal, but I don't want my users to be able create or change the report. I can't seem to find a command line option to do this. Is there a runtime only version of Crystal?
embed crviewer and craxdrt components in your app (delivered with CR developer's edition, free to distribute) so that you'll be able to view reports without modifying them. Basic manipulations (zoom, search, export to pdf, display/hide details or groups) can still be done.
If you must launch this viewer from a command line, I'd advise you to embed it in an office document/file and manage it through VBA. You could for example launch the runtime version of Access (free to distribute) that will contain one generic form for Crystal Reports display.
There are Crystal Reports viewer components which you can use in your projects. They are coming with the Crystal Reports Developer editions and you can use them in almost every programming language. There you can define the report as view only if you want.
Go to SAP.com and search for "Crystal Reports Viewer". It may or may not do what you want.
Also take a look at "Crystal Reports Server". CRS XI is a nice reporting portal with many useful server-side features. Schedule reports to run and auto-publish. Generate PDF or Excel output. Limit access to reports (or groups of reports) by specific users, etc. But for your application you can use HTTP access within your application to the published results. This is a good solution for example when you have a large number of users viewing the same reports.
What about marking the file as read-only? If the viewer opiton isn't open to you.