Calendar image representing column value in Tibco spotfire - spotfire

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.

Related

Can you add HTML as a note on Excel?

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.

Spotfire Calendar Filter

Is there a way I can use calendar filter in Spotfire? I am aware of the range filter, but I want the user to only be able to select one date from a range of dates coming from a table.
it's a little bit advanced and requires some scripting (although code is provided), but a date picker can be used:
http://spotfired.blogspot.ch/2014/05/popup-calendar-webplayer-compatible.html
the result is something like this:
I know this is two years old but I still came across this post and I figured someone else will too.
To get the calendar to filter follow these steps:
Edit the Text Area
Click "Insert Filter"
Click the column from your data that contains dates
Click "Ok"
Once you save, you will have a slider in the text box and two calendars where dates can be picked or you can utilize the slider.
The current version of Spotfire has a calendar date picker built into the filter and data panels (but it is part of the range slider).
You can also insert this filter into a text area if you want a more custom user interface. See below:
Calendar date picker in Spotfire text area

Watermark an image with reportviewer (full page report)

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

Format lookup column to display Name (FileLeafRef)

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

Dynamics AX Color Picker

Trying to add a color picker to a field in Dynamics AX 2009. Found an article providing some very simple steps for creating the color picker as a lookup, but I can't get it to work.
When creating the extended data type, the FormHelp lookup doesn't include the function SysChooseColor, but it will accept the value if manually entered.
After adding a field using my color picker data type, the form renders a string edit to the page with a lookup icon. However, upon clicking the icon, the lookup window that appears is empty. Tried with and without a valid color value (#AAAAAA) in the field.
Here's the reference I started with: http://www.axaptapedia.com/Color_picker
Thanks
Did you look at form JmgParameters?
On tab DisplayOptions you can find example of usage the color lookup form. See at element.colorLookup() method.

Resources