Hi all,
I have a button inside a portal, the dataprovider is set to a calculation that is supposed to return a picture, depending on the result; a greyed out button, or a ‘lit’ button. The calculation is set to the media return type.
The problem is, I cannot figure out how to return a media object! I have searched The Fine Manual and these forums and not come up with an answer, only a workaround.
return media:///AddLink.gif;
``` gives a syntax error when hitting Verify.
return ‘media:///AddLink.gif’;
return “media:///AddLink.gif”;
both display the text, media:///AddLink.gif inside the button.
return ‘’;
<IMG SRC="http://loathe.ms/~lee/rhdb-toppingbuttonhtmlbug.png">
The image does not display properly... (the button is the exact correct size for the image, when I set the imageMedia property of the button it is aligned perfectly)
How exactly are you supposed to return an image from a calculation set to return type media? I get the feeling I am missing something blatantly obvious here ...