function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
minkeshminkesh 

use of static resource in custome field

Hi,

      I am facing one problem. I want to Display image in the custom field.

      I made one zip file i.e. Flags. Now i want to use this file into custom field. So how can i do that.

      Can any one tell me ? can i use $resource  in the field.If yes than what is the syntax ?

 

bob_buzzardbob_buzzard

I'm pretty sure that you can only use static resources in Visualforce pages.

minkeshminkesh

Hello bob,

                   Thank you for your reply but i solved it using custom setting.Yes you are right static resources can only be used with the visualforce page only.