I'm encountering a problem on Reporting Services, using BIDS (2008).
I need to create a report which has a transparent body background.
I mean, when I export it (TIFF or PNG, whatever), I need the whole background to be transparent.
When I edit my report, I check that the "Body" -> "BackgroundColor" is set to "No color" (putting "Transparent" as a value automatically brings it back to "No color").
But once my report is deployed and I generate it through the Reporting Services web interface, exporting it to TIFF format only gives me a report ... with a white background.
So here is my question : is it a well-known issue ? Is there a way to get my body background transparent ?
Maybe an easy way exists and I'm just missing it, but I have no idea what I'm doing wrong.
To my best knowledge this is not possible when exporting to Tiff / PNG. You could however use a Batch background removal tool like ImageMagick;
http://www.imagemagick.org/
It is a command line tool, so a lot of automatizing / batch processing possibilities. It can be a bit intimidating at first but here is a easy tutorial addressing white background removal with imagemagick.
http://www.vectorns.com/blog/technical-articles/18-how-to-remove-white-background-from-a-picture
Related
I want to add solid white indicator arrows into my ssrs report, but the closest I appear to be able to get is an arrow with a grey border/shadow/gradient effect, like this:
I've tried tweaking every property setting I can find to suppress this gradient effect, but no joy... Is there a way to configure these indicators to be a simple solid colour?
Alternatively, is it possible to upload my own image files into ssrs to use instead?
Appreciate any guidance.
To answer your alternate question, Yes, you can add your own images. They can either be embedded in the report or stored in a location that the report can access. Be careful because the location the report can access locally during development is not the same as the location once it's deployed. You can use an expression to change the image name so that it is dynamic.
I need to define my company-branded color palette for SSRS. This should be re-usable over several reports. I realized that I sometimes need to redefine the custom palette again and again, sometimes even on different controls in the same report, but always on a new report. I know I could copy and paste the colors in the RDL file but I want to avoid that
So I wondered since I know we can write extensions for reporting services, if there is a chance to change or create one of the default color palettes that already are shipped with ssrs? I looked around to find their definition on the Reporting Server but no luck. Anyone knows more?
I haven't found a way to change the default palettes in SSRS or even add a new one that can be used.
The most helpful thing I found to do was to create a custom palette in one chart. Then you can use that same custom palette in other charts. You can copy and paste the chart into new reports to use the same palette or make a template report with the chart (and the custom colors in it).
http://clarkcreations.net/blog/5-simple-things-i-always-forget-about-ssrs-custom-color-palette/
My current problem with using the custom palette is that the border has to be the same color as the fill color. This doesn't work with my new color scheming with dark borders and light fills:
I've got around this by creating a table in the database with the 9 corporate colour schemes included. I've also adapted the default report template so that it includes a dataset called "Palette" for the colours. I then just use =First(Fields!Official,"Palette") as an expression for the colours where needed. I also have to change the colours for staff with particular visual needs so using this I can select the scheme appropriate for the staff member whilst having the official palette used in other cases.
is it possible to turn off background highlighting for SQL strings in PHP Storm ? I know I can turn off SQL language injection, but i would rather keep SQL syntax highlighting and just get rid of irritating background colors. Is it possible ?
Go to File -> Settings and then to Editor -> Colors & Fonts -> General. Click 'Injected language fragment' and simply untick the Background checkbox.
2 possible colors :
#52503A (gold/dark yellow) : color code for "Warning" because no Database is set. Go to View/Tool Windows/Database. Then click the "+" button to add a database and click many buttons up to the end.
#364135 (khaki/green) : color code for "Injected language fragment". Go to Settings/Editor/Colors & Fonts/General/Injected language fragment and change background color.For instance you can set a slightly darker color from the original
background for PHP. For Darcula theme base, I used #1A1C1C as a
darker color.
There may be more cases but these are the two I encoutered.
when sql dialect is not configured, sql strings glow in a annoying yellow. You have to set sql dialect for the file or project.
Go to File/Settings/Languages & Frameworks/SQL Dialects and then select your desired dialect. If you choose the root folder, you will be asked if you want to apply it to all files.
After that you can set the color for injected language fragment as explained by #chocochaos
In my case it was Editor > Inspections > SQL > No data sources configured. To find out what PhpStorm is warning about, you can click on the highlighted area and then on the hovering lightbulb to get the tooltip.
I have a report in a Windows Application that supports a trial mode.
We would like the report to display a watermark when the trail is active, and I have approached this successfully by adding the watermark text as an image to the report background. Which is not perfect as it should be on top, but it is certainly good enough.
I have a small challenge though and I am sure it is simply lack of knowledge on my part.
I need to turn the watermark on and off, based on the trial status.
Is there a way that I can change background visibility in the report based on a parameter or programmatically? or do I need switch the Image for a transparent one and load it as report data? Any better ideas?
Thanks.
You can optionally hide the image based on a parameter.
If you create a hidden boolean parameter, for example, ShowMe, and have it default to false. You can set it to true in your application.
Set the hidden expression of the image to - > =Not Parameters!ShowMe.Value
Reading MSDN (and other sources) about custom report items (CRI) for reporting services 2005. It looks like I'm limited to generating a bitmap. Not even with some mapping overlay for detecting mouse clicks on it. Is there away to go around this? There are two things I would like to do:
Embed HTML directly into the report, to format dynamic text.
Embed flash (swf) control in the report. This could be done with HTML if the previous point is possible. But maybe there is another way
Any suggestions? What am I missing?
You didn't missing anything.
For me, like you mentioned, the main disadvantage is, that with a CRI you can only render images. You don't get any scalable text or something similar.
If you want include swf, you need to render it as static image.
You can render the report as HTML and include the report using a floating frame in a page with the swf file. You can use functions to format dynamic text. SSRS 2008 solves some of these problems with the "richly" formated textbox (not RTF). it may worth a look, if it's an option.
You might want to take a look at Data Dynamics Reports which has all of the RS features and has better support for custom report items with a complete API not just bitmaps.