I have a requirement for n no of closure of cases,where i have a created a visual force page ,apex cotroller and and custom button Named as "Num CLOSE".Now we would like to have this custom button "Num CLOSE " to be visible only for one profile in a view .

Any idea or suggestions very much appreciated.

  • what do you mean custom button? JS custom button or VF commandbutton?
    – Ratan Paul
    Dec 3, 2015 at 17:27

1 Answer 1

<apex:commandButton value="Go" rendered="{!$Profile.Name = 'Profile Name'}"/>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .