How to add Visualforce page to custom object page?
For custom object , you need to use , i.e. for Custom object we need to use the api name for the objects. Hope this helps!!
How to display soql query result in Visualforce page?
You have a query that can result many records from different object & you need to show them on a Visualforce Page. Try understanding the usability in this snippet of code. It would help.
Why are VF pages used as standard controller?
The reason behind this is because you may already have a VF page build that is using Contacts as a Standard Controller. If you goto Setup–>AppSetup–>Develop–>Pages you will be able to see all the VF pages that are available for your SFDC org. You can check them and I believe you will fine one or more where Standard Controller is Contact.
How to embed a VF page in a detail page?
A vf page would be available for embedding in the detail page layout provided page is using standard controller of that particular object. For example, in the below example a inline vf page of standard controller ‘contact’ would be available for embedding in contact records only.
Can you edit a VF page with accounts?
Unless you have a VF page that is using Accounts as a Standard Controller or is using a Custom/Extension controller where Accounts are being referenced, you will not be able to see this option on the Account layout edit screen. Here is a simple test that you can do: Create a new VF page using the following piece of code:
Why is my Visualforce page not showing up?
If you look through the documentation you will see that: Visualforce pages used as custom links on the home page cannot specify a controller. Visualforce pages used as custom buttons or links on detail pages must specify a standard controller of the same object.
How to define a standard controller in Visualforce?
If the object is named foo, then you specify its standard controller as standardController=”foo__c” . Extensions are specified using the extensions attribute on the page tag. An extension controller is an apex class with a constructor that is passed the standard controller as a parameter so it can interact with it.