I have several SSRS '08 reports that look great when viewed as a web page or exported to the various formats. Recently, someone wanted a data driven subscription to go out for the report. No prob. They were adamant that they did not want the report attached to the email or to link to the report from the email. No prob. Unfortunately, the email body containing the report contents has page breaks at regular intervals. Problem.
Is there a way to conditionally have page breaks, so that I can prevent them from showing up in the email?
Thanks for any tips. (I googled for a solution, but if there is one, I didn't use the right search terms.)
-Kevin
The MHTML rendering extension (probably the one you're using if you're embedding reports in emails) supports the disabling of soft page breaks using the "interactive height" report property.
Have a peek at this question for more details:
Single page display in HTML rendering : SSRS
Actually this is a question related to this: They were adamant that they did not want the report attached to the email or to link to the report from the email.
How do I do this? How do I include the report in the email body?
Can this be done in SSRS 2005?
Related
I have successfully embedded an SSRS report into my application and on the report I have a table with some data. I have grouped some columns and indicated in details group properties that it can be collapsible like so:
(If anyone is wondering the expression on the month is just doing this =Left(MonthName(Fields!monthNumber.Value), 3) and works as expected.
Preview result is something like this which in SSRS builder preview behaves as expected.
Now the problem is, when I go on and try to press the button to collapse or show some of the months in my live app, the report I am assuming tries to reload and instead the buttons send me to an SSRS link that is a completely irrelevant page to my webapp and the page looks something like this:
Get help button just sends me to a Microsoft site that is kind of useless.
I AM forced to use a rather old and meh IDE called "Alpha Anywhere" and I am not exactly sure if it is just the IDE quick. I don't think it should be, something credential-wise is probably going weird.
The report itself is configured to use a shared data source from SQL Server that is accessed using security credentials I created specifically for SSRS.
Basically everything is working fine, just the collapse buttons are acting unexpectedly.
Any help would be appreciated!
I have a 2012 SSRS report that process thousands of records, it's a paginated report via an SSRS parameter.
When we export the report, the data is being sent to multiple spreadsheets (due to the pagination).
Is there any way to avoid this? To keep pagination but export the data to a single spreadsheet?
Thanks
There are two different kind of "pages" when viewing a report. There are natural breaks based on the page size and then there are hard page breaks that can be set to occur between objects or groups.
With hard page breaks it's all or nothing. The sheets created during export are a direct reflection of the page breaks in the report.
However, if you simply let the report create pages during viewing and don't specify any actual page breaks, all the data will export to one sheet!
Another hack way of doing this is.. have another version of the same report without the group pagination. Hide this report. Have a text box on your original report.. call it "Export to Excel" or something like that.. under actions for the textbox.. select go to URL. and in there put in your report server path to your hidden report.. including any parameters in your original report.
The link would look something like this - Note the Command at the end of the URL:
"http://yoursite/ReportServer/Pages/Folder.aspx/Production%20Reports/?%2fProduction+Reports%2fYOUR_HIDDEN_Report"&"¶meter1=" & Parameters!parameter1.value &"¶meter2="& Parameters!parameter2.value,& "&rs:Command=Render&rs:Format=EXCEL"
You have to play around with the link to get the correct link.. Once you have the correct link.. run the original report report and click on the "Export to Excel" Button / text box .. You will now see a prompt to download the Excel file..
You should not have a as a single sheet.. done.
I have added multiple charts on one report and each one is dependent on other one. I have used action->Go To Report to refresh another chart on click of the current chart. But the issue is that its refreshing all the charts/datasets on the current report. I just want to refresh one chart and preserve the value/data of others.
Sorry Rishi, but this is not possible with a simple SSRS dashboard, just using the SSRS designer.
There are a few ways to achieve this result with a lot of effort, but each one is essentially coding a master webpage that displays multiple SSRS reports in separate containers on the same page. Then you use server-side ASPX code, or client-side javascript code to interact with the SSRS apis and pass parameters and reload the report(s) that you wish.
Here is one demo site that using javascript on a SharePoint, PerformancePoint Dashboard to achieve the effect.
I'm looking for a way to create a search box in wordpress, where visitors can search a number from the database. Is this possible? I have several package numbers in my database. I want to give my visitors the ability to search for their package number and request the information that comes with the number.
What you want to do can be done.
I suggest a different approach than using wp-exec. (I just looked at wp-exec website, and that plugin was created for WordPress 1.5, which means it hasn't been updated in about 5 years).
The content you want to display exists entirely outside of WordPress. I suggest you use a custom page template - see
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
In this case you would not use WordPress posts or pages or custom post types. On the custom page template you would write (or have written if you don't have the knowhow to do it yourself) PHP code to extract the info from the database and display it on a page.
For pages like that you would be using WordPress only as a container within which to display the results - they custom page would appear in the site Nav, The page of results would use the site's theme to display so it looks like the rest of the site.
But the code to display from the database would not use the WordPress loop. It would be PHP / MySQL data retrieval and display code.
I really doubt you will find a plugin that lets you display results from an external database, formatted the way you want them to appear. The reason is every external database is different, has different tables and table structures. And no two sites will want the external data visually displayed in the same way. So there is little generalization to encapsulate in a plugin as everyone wants it different.
I've created pages on some sites along the lines of what you want to do thus I know it can be done. But it requires writing custom code.
I am struggling to find where to start w.r.t my following problem.
In SFDC reports, there is an "export details" button to export a user chosen report into csv or xls formats. I want to modify this xls file (for example, encrypt it) before user downloads it.
I guess I can achieve this using Apex triggers. My questions are:
How can I add an Apex trigger which is triggered upon a user clicking this "export details" button?
How can I access the xls contents in this Apex trigger code where I want to encrypt them?
I extensively searched in Apex user guide and many other sources. I can not find how to add triggers to standard SFDC buttons.
Thank you very much in advance.
How can I add an Apex trigger which is triggered upon a user clicking
this "export details" button?
This isn't currently possible. First triggers are related to database actions and not user interface events. You can override the behavior for a lot of buttons using a view override, but unfortunately that's also not available for report buttons.
Workarounds
While you can't alter the behavior of the standard report experience, there is a new Reporting API that was just released by Salesforce that allows you to programmatically get the contents of a report. Using that you could build your own "encrypted report download" tool to accomplish this.
For more information, checkout this answer on Salesforce Stackexchange on accessing reports through the api. And in the future, post to Salesforce Stackexchange first!! That's where the community is these days ;)
Trigger can only be called when you do some dml operation in salesforce, clicking a button has no concern with the trigger calling,