You need to sign in to do that
Don't have an account?
VarunC
Hide List Button for some Profiles
Hi,
I am looking for a way to Display and Hide a Button placed on LIST View of records, like All Contacts list view where I place a button to Update selected records, but I Do NOT Want ALL users to SEE that button, I only want Users of Certain Profile which can see the Button and then click it to Update Records.
How can I achieve this ?
If you remove the ability of the profile to create a new contact, that button should be removed. This can be done by editing the profile. Not sure about the mass update, i think that may also be a profile setting.
This is a feature of the declarative application configuration , not controlled by Visualforce.
All Answers
Visualforce would not allow you to modify a list view directly.
You can create a custom field, formula field, on the object itself. This formula would show a link if the profile matched the one you wanted, and show something else otherwise.
please check the following screen ...
I need to show and hide the above mentioned buttons in ENHANCED LIST based on user's Profile .. How can I do this ... ?
If you remove the ability of the profile to create a new contact, that button should be removed. This can be done by editing the profile. Not sure about the mass update, i think that may also be a profile setting.
This is a feature of the declarative application configuration , not controlled by Visualforce.
hmm .. well I do not know if that would work, also not much clear about what you intend to say, but at this point I was convinced that it is not a possibility :( .. but plz .. if you could get a solution then it would be really thankful .. so if you a find a solution can u also guide me here then :) ...
Did anybody find a solution for this? I have a custom button on a advanced list view that I would like to hide/show based on profiles.
Ron's suggested solution is a working available solution for this.