This discussion is archived
4 Replies Latest reply: Sep 20, 2013 2:43 AM by ryansun RSS

Calling Static files and Custom CSS from Apex

ryansun Newbie
Currently Being Moderated


theme 25


Hi Everyone,


  I am using standard Apex HTML region. I have to call


1. image


3. js file


all of which have been loaded into Shared components (image, CSS and static file sections.


How can we refer to these files from a page . I tried #WORKSPACE_IMAGE#img.jpg and the same for CSS and JS file. I even tried something like &WORKSPACE_IMAGE.img.jpg


Finally, I moved the CSS and JSS inside the html region only. The images seem to work. Anything that I might be doing wrong.?





  • Correct Answers - 10 points
  • Helpful Answers - 5 points