You need to sign in to do that
Don't have an account?

Check Parameters
I'm trying to figure out what parameters I have available in VF. We want reps to be able to create an opportunity from Contact, Account, or Project(custom object). So we created a VF page that needs to handle all the situations. So how do I check where I came from? For example, if they came from an Account we don't want to ask them what account they want to use for the Opportunity. Same way with coming from a Project or Contact. Any ideas? I'm new to visual force.
I'm pretty sure that if you create your page with a standardController="Opportunity", it will all by itself detect where you clicked the 'new' button and pre-populate the lookup field for you.
You can always add custom code in an extension if you need to.
D.