I am creating a page that let's me create multiple objects at once. The thing is that I want it to be dynamic so that an admin can modify it simply by changing the standard page layouts to make new fields show up or remove other ones. The User can also select record types here to change what layout is in use. Is there an example of how to do this somewhere? I recall seeing it once, but I can't seem to find an example anywhere via google/stack exchange.


You can use the detail to expose the standard page layout on a visualforce page. https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_detail.htm

  • 1
    There are no Ids at this point besides for RecordType. It also needs to put these in edit mod. I don't think this would help. – dphil Mar 28 '16 at 16:57
  • Understood. If you need to create/edit then you might consider using the standard create/edit page but adding a parameter to return you back to your visualforce page once the detail record has been created. Here is a good description raydehler.com/cloud/clod/… – Benjamin Pirih Mar 28 '16 at 17:01
  • 1
    Sorry that doesn't help either. They want all of the info for multiple objects on a single page so they can eliminate clicks. – dphil Mar 28 '16 at 17:03

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.