You need to sign in to do that
Don't have an account?
Sachin10
Access standard Case Icon in Visualforce page
Hi,
Salesforce has a standard Icon for Case(Briefcase symbol). How will I access it in my Visualforce page?
I tried to inspect the Case Icon element and ended up with this:
<img src="/s.gif" alt="Case" class="pageTitleIcon" title="Case">
But when I use this I get different Icon not the briefcase which I want.
NOTE: I want to use the standard salesforce URL to access the Icon and don't want to store in Static Resources.
Any help or pointers in this regards are highlu appreciated.
Many Thanks :)
Try to use tabStyle in Apex page
Thanks and Regards
Raja
All Answers
Hi,
Try to use <apex:sectionHeader> tag in your visualforce page.
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/
@hitesh90
Thanks for your reply.
But that didn't work. It is showing a home Icon not the brief case Icon.
And I want the URL of the standard Salesforce BriefCase Icon so that I can use it in my Image tag.
Hi,
Have you used standardController="case" attribute In your <apex:page> tag.
see below example.
visualforce page:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/
@hitesh90
Thanks for your reply.
It works when I put standardcontroller ="Case".
But what I want in My scenario is different.I want to embed URL of the standard salesforce briefcase Icon.
In my case standard controller is Asset. So Asset Icon is getting displayed when I use
<img src="/s.gif" alt="Case" class="pageTitleIcon" title="Case">
but i want a Case Icon
I'm not sure if we can even get the URL of those Icons.
I wanted to check if any standard way is there to access the Images before using Static Resources.
Thank You!
Try to use tabStyle in Apex page
Thanks and Regards
Raja
@Raja It worked..
Many Thanks :)