+ Start a Discussion
saisaisaisai 

New Visual Force Page newbie questions

Hi

Just started learning SF so please help in ansering the new bie questions:

 

1. When creating a new visual force page from Setup --> Develop --> Pages --> New

There is a button called "Where is this used"

What is this used for as it does not show anything when i click on it.

 

A couple of more related to this:

2. What is Version Settings used for?

 

3. What is show dependencies used for?

 

Any help is really appreciated.

Thanks

Sai

Best Answer chosen by Admin (Salesforce Developers) 
Suresh RaghuramSuresh Raghuram

1. suppose you created a vf Page and embeded in the Opportunity Page Layout.

    when you click that What is this used button, it will show

2. suppose a page or apex class or trigger developed long back like 3 or 4 years when the version was 19.0. but the current version      will be 26.0 and you made some changes to that old versioned code you may run in to problems with the compatibility of versions.

3. suppose if the vf page is having a custom controller and if you want to delete this page it will not let you to delete it because it is depended on that.

if you want to delete that first you should break that dependecies. and when you r deploying the same vf page to prod it will ask for all the depended components to be added to the change set, if they are not pre exist in the prod.

 

I believe the above are proper ansers for your question, so make this as a soluton and give KUDOS.

So some one can refer it .