I would like to use Workbench to query our custom buttons. What is the name of the sObject that stores them?
1 Answer
You can get the API Name of any object whose Id or key prefix you know using a script like the following:
system.debug(Id.valueOf('00b'.rightPad(15, '0')).getSObjectType());
You can find the Id for a custom link by clicking on it and examining the URL (the key prefix for custom buttons is '00b'
). The name of the corresponding object is WebLink
.