You need to sign in to do that
Don't have an account?
Nazeer Ahamed
Where all list view names are stored
Hi.,
I want to place a custom button in custom object list view. I don’t want user to click this button from any other list view other than desired one.
There is no option to make list button visible only in desired list view, it will be there in all list view.
Finally I desired to throw a message to user, when they click that list button other than desired list view.
Here I need to check the List View Name, how can we get the list view name in Visual force page / extension apex class.
Where all list view names are stored, is that object / table is accessible / can we query that object in apex class.
E.g:
List View Name A, I want to place custom button A here.
User should not have access to button A in list View B, C and etc(We cannot make it this happen in standard list view) hence user clicks button A from List view B or C.
I want to throw message to user.
Note: PDF page will be render to me when I click on custom button A.
I want to place a custom button in custom object list view. I don’t want user to click this button from any other list view other than desired one.
There is no option to make list button visible only in desired list view, it will be there in all list view.
Finally I desired to throw a message to user, when they click that list button other than desired list view.
Here I need to check the List View Name, how can we get the list view name in Visual force page / extension apex class.
Where all list view names are stored, is that object / table is accessible / can we query that object in apex class.
E.g:
List View Name A, I want to place custom button A here.
User should not have access to button A in list View B, C and etc(We cannot make it this happen in standard list view) hence user clicks button A from List view B or C.
I want to throw message to user.
Note: PDF page will be render to me when I click on custom button A.
Did you find solution? I have the same requirement
Select l.SobjectType l.Id, l.DeveloperName From ListView l
It was long time, not sure what I did. However still this is approach to go ahead.
"Finally I desired to throw a message to user, when they click that list button other than desired list view." - As mentioned in the original question.
This may not completely answer and some thoguhts to go ahead.