+ Start a Discussion
Søren Nødskov HansenSøren Nødskov Hansen 

Can VF Page be shown on insert/create layout?

Hi

I have a visualforce page with an extension controller which shows and works as expected on the account detail page layout.

However, I'd like to also show my VF page on the page layout that is shown when the user clicks the "New" button. I.e. on the create/insert page layout.

How can this be done?

Thanks in advance.

/Søren Nødskov
Best Answer chosen by Søren Nødskov Hansen
Swayam@SalesforceGuySwayam@SalesforceGuy
Hi,

You can't. Visualforce pages only appear in detail mode. You'll need to write up an entire Visualforce page if you really need to override the new record page.

But if you are using lightning than you can do that... https://releasenotes.docs.salesforce.com/en-us/summer16/release-notes/rn_forcecom_lab_create_recordpage_ga_lex.htm

Hope this helps !!

--
Thanks,
Swayam

All Answers

Swayam@SalesforceGuySwayam@SalesforceGuy
Hi,

You can't. Visualforce pages only appear in detail mode. You'll need to write up an entire Visualforce page if you really need to override the new record page.

But if you are using lightning than you can do that... https://releasenotes.docs.salesforce.com/en-us/summer16/release-notes/rn_forcecom_lab_create_recordpage_ga_lex.htm

Hope this helps !!

--
Thanks,
Swayam
This was selected as the best answer
Søren Nødskov HansenSøren Nødskov Hansen
Ok, I remembered correctly then.

The Lightning feature was new to me, though, so thanks for that.

/Søren Nødskov