How many custom buttons does a custom object allow ? That means : how many custom buttons can I create and add to my page Layout ?


As far as I can find, the official documentation does not have one, and the object page also does not specify a limit. I would imagine, however, that you would not want a huge number of buttons attached to a single object, and the actual count of those would be rather low, instead of over a hundred for a single object. Not sure why anyone would need a hundred buttons for an object, but it seems possible.

If you do hit a size limit, you can use Enabler for Excel to convert that page layout into a VisualForce page, and code the buttons yourself.

I know this isn't much, but I couldn't find anything. Hope what I posted helps.

  • I think that's it. I am sure they limited it in any way, but there is no official limit. – David Renz Jul 31 '14 at 14:28
  • 1
    It's actually a lot like record types. I once had a case about that, and I made some 5000 record types on one object with a script before I finally just told the customer that I couldn't find a useful limit. – sfdcfox Jul 31 '14 at 15:17
  • @sfdcfox oh dear god. Why did the customer want that many record types? – battery.cord Jul 31 '14 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.