You need to sign in to do that
Don't have an account?
J.D. Dooley
What controller do I use/create to display a custom visualforce page on a custom object
My goal is to have a custom object, NewObject, display embeded youtube videos.
I have created the NewObject.
I have created a visualforce pagem NewVP for the videos and it previews fine.
Now I need to add visual force page to the custom object. This is were I am stuck.
I believe I need a custom controll, but am not sure.
Any support is appreciatd.
I have created the NewObject.
I have created a visualforce pagem NewVP for the videos and it previews fine.
Now I need to add visual force page to the custom object. This is were I am stuck.
I believe I need a custom controll, but am not sure.
Any support is appreciatd.
Try this code
This is my current vfpage.
https://trailhead.salesforce.com/en/content/learn/modules/visualforce_mobile_salesforce1/visualforce_mobile_salesforce1_layouts_cards
From Setup, enter Object Manager in the Quick Find box, then click Object Manager | Account | Page Layouts.
Select Edit from the dropdown arrow to the right of Account Layout.
Select Visualforce Pages and drag the StockQuote page to where you want it displayed on the page.
https://trailhead.salesforce.com/en/content/learn/modules/visualforce_mobile_salesforce1/visualforce_mobile_salesforce1_layouts_cards
Section "
Use the Page on a Page Layout or Mobile Card'
When the tab is selected I want the VF page I created to be the first and only thing a user sees.