I would like to use Workbench to query our custom buttons. What is the name of the sObject that stores them?

1 Answer 1


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.

You must log in to answer this question.

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