Apex – referencing Workspace images
January 28, 2008
1. Upload your file to the Workspace.
2) If the file is application-specific, assign it to the application.
3) Note the image name in the Shared Components->Files->Images. You’ll need to click on the icon/link for this item and get the image name value from the detail page, because the icon list replaces underscores with spaces and you need the exact name.
4) To reference it, like your company logo that goes on all pages, add something like the following on the Application Definition page in the Logo field:
#WORKSPACE_IMAGES#company_logo.jpg
You can also use this to reference Cascading Style Sheets that you’ve uploaded to your application.
July 31, 2008 at 6:14 am
Thanks! Been looking for this all over. Its not made very obvious that #WORKSPACE_IMAGES# is a valid application variable.
May 3, 2009 at 11:00 am
I also looked long and hard before finding #WORKSPACE_IMAGES# here – thanks!
October 14, 2010 at 6:19 am
Hi.
But what happens, if you have import the application into an other database? Test or production, for example? How do you get these images and css files into the other database?
Thanks…
Andrea