I'm trying to annotate an excel sheet with notes.
I know I can add text to a Note, or display an image. Are there any other alternatives? Eg. showing some rendered HTML on hover.
Related
I am trying to build a spotfire dashboard in which i want to display a calendar image with some date has to be shown, the date value to be shown has to be picked from column in my table. Can someone help how to add this?
My desired image would look like this
You can add custom HTML to a TextArea - Import your image and use calculated values as the text in the TextArea. The set up would require some CSS and possible js as you'd wanted to have your calculated values placement be over your image.
We are applying a stylesheet to SSRS report footer. Footer Font color is set dynamically based on the configuration in the database.
When report is exported into Excel, footer color is always black. It is always black in the SSRS report as well. However PDF export shows the footer color correctly.
Has anyone faced this issue with footer color in Excel export? Is it not possible to change the footer color in Excel export? Any tips are appreciated.
Thanks in advance
I suspect you're just using a color that Excel doesn't typically use. Try matching your CSS to one of the 56 colors that Excel can accepts from SSRS. See:
exporting-to-microsoft-excel
"If more than 56 colors are used in the report, the rendering
extension matches the required color to one of the 56 colors already
available in the custom palette."
I just struck a similar issue, but when Exporting to Word docx format. It seems to ignore the font settings for placeholders in a footer.
I was able to work around it using the technique described in the link below - you set the text as a Placeholder with Markup Type = HTML, then wrap the text in HTML tags as the Value e.g.
="<font color='blue'>My blue footer text</font>"
https://social.technet.microsoft.com/wiki/contents/articles/18748.ssrs-multi-font-color-multi-font-size-within-a-single-field-textbox.aspx
I know i can watermark an image with reportviewer 2012 in the body part of the page.
My report has header and footer, i need watermark an image in angle for the full page, from the bottom-left to the top-right and that will include the header, body and footer.
Any Idea? Thank you.
SSRS doesn't natively have a Watermark function, but you have a couple workarounds.
Fix 1 - Background Image
Create an image with the watermark you want (save as .bmp)
Add the image to the report
Set the Report Body Background property to use the image.
Body Properties
For Step 1, I like the following method:
Create a Word Document
Go to Page Layout > Watermark > Custom > and add whatever watermark you want
Save the Word Document as PDF.
Open the PDF and Select "Copy File to Clipboard"
This will create the correct sized image at 612x792. Paste into MSPaint and save as a bitmap. Here's a sample generated image that just says "TEST" that you can use.
Conditionally Applying:
Most times you have a watermark, you want to eventually remove it. Let's say you have a test and production report and you want to toggle the watermark. You can do it like this:
Add a Boolean Parameter, here called IsTest. It should look like this:
On the Body Properties menu, set the background image to use the following formula:
=iif(Parameters!IsTest.Value,"TestWatermark","")
When you're calling the report, make sure to pass in the parameter like this:
report.SetParameters(New ReportParameter("IsTest", appSettings.IsTestEnvironment))
Fix 2 - Text Field
Alternatively, you can do this with a text field for a little less heavy handed of an approach, but it cannot be rotated at a 45o angle.
Add a text field to the report. Make it large and grey.
Right click on the text field and click Send to Back so it appears behind all the other elements.
Make sure that any other fields with a white background have a transparent background, otherwise you'll get a blotchy display.
Further Reading
Watermark printing in SSRS report
How To Watermark your Report With Custom Image
Try if this will help. It shows several workarounds: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b9c25fc1-00a5-4957-8f02-f91bf5984d76/how-to-achieve-watermark-underlay-feature-in-ssrs-2008
I have a custom publishing page layout I have created. The content type behind the page layout has a lookup column pointing to a document library where I store images. Basically, the pages I am creating from the layout are 'articles' and I have an associated image with each.
As you can probably guess by now, I want to display the lookup image on the page. However, I cannot for the life of me figure out how to do this. I have been inserting columns into the page layout via controls, but I'm not sure how to format it to look at the source document behind the lookup column. I am wondering if it is possible somehow through controls, and if not this way, if it can be done through modifying the XSL of a webpart. My last option which I don't want to use but I know it would work is a workflow (on new item creation, copy Name (FileLeafRef) into a hidden single line text field I coult utilize).
Does anyone know how to format a lookup column to display Name (FileLeafRef)?
Help is greatly appreciated!
-Josh
A user pasted the content from a word document into a wiki page.
In the word document all the links have the same font and color but on the wiki page some links are blue, some black, some using arial, some using times new roman. I guess the generated HTML screwed it up. Anyhow, when I mark text I can change the color, font, size and so on but when I mark a link the change color button is disabled (but I can change font and size), why is this? Do I need to ask the user to copy the contect back to a word document, edit there and then copy paste it again to the wiki?
Thanks in advance.
There is a good chance that there is some embedded css styles in the text that was pasted which is what is causing you grief. There should be a button that you can use to edit the raw html to get rid of those styles. Otherwise it is helpful if people paste unstyled text i.e. As Text.. rather the styled As HTML.. text.