Is there a way to get the compile size of a formula field through the metadata api or the tooling api? I have found "calculatedFormula" on the metadata api and "formula" on the tooling api but neither seem to provide the compile size.

  • 1
    I'm going to guess "no," since I've never seen such a way to find this, but here's hoping I'm wrong. – sfdcfox Jul 20 '15 at 20:36

Originally I found the idea - Calculate Current Compile Size for formula fields, which has been merged with Formula Debug Tool.

Based on those ideas, I'd also say that the current answer is "no" with respect to the APIs.

I'd suggest commenting on the Formula Debug Tool idea to see if they can expand it out to the APIs when implemented.

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.