Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that I can't add a vf section to a std, edit page, but my question is WHY

can't I add visualforce to a standard edit page? What's the exact issue going on there?

share|improve this question

closed as too broad by Chris Duncombe, Simon Lawrence, E.J. Wilburn, Bartley, highfive May 10 '14 at 4:54

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

I am afraid it's not possible. They are added only in the view page, but there's already an Idea


I guess there a couple of technical issues like for example:

  • Visualforce pages are served from a different domain, so that would make saving very complex and risky for data integrity.
  • Visualforce pages may contain fields which don't really exist such as fields from wrapper classes.

There are probably some more... I guess if Salesforce managed to offer such a functionality it would have been very limited thus making it not very useful.

share|improve this answer

As @ManSpan noted, those pages are protected and can't be edited. That said, there's a freebie utility called Layout Page that will allow you to convert standard pages to VisualForce. Once they're in that form, you can then add all of the custom VisualForce you'd like.

share|improve this answer
I'd like to know the reason WHY though. I imagine it's not arbitrary.. – user11235813 May 9 '14 at 15:32
I used the term "protected" for a reason. Its so no one can come in and change the default behavior of a standard page without being aware that's what they're doing. Recognize also that not all versions of SF support customizations, including custom controllers or Apex code. – crmprogdev May 9 '14 at 18:54

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