You need to sign in to do that
Don't have an account?
MohanaGopal
Custom list button invoke VF page
Hi...
I have created one custom list button. When I clicks I want to invokes one visualforce page...
Now I am using
Content Source: Onclick javascript
in script
window.location.href = 'orgid/apex/myvfpagename';
Visual Force Page
Standard controller is ="Calculated_Measures__c"
Parent object is =Project__c
In my VF I am using =
<apex:inputField id="CurrentProject" value="{!Calculated_Measures__c.Project__c}"/>
But it shows blank in UI...
I am also try
window.location.href = 'orgid/apex/myvfpagename{mergefield parent Id}';
In the url parent id is doesnt appear...
My question is how to pass parent object id to the visual force or how to access parent id in that vf page..
I need to display Name of parent object ,, But that is custom list button
Any one send sample code for this....
look up the relation name in the object detail page to be sure.
if you have eclipse, you can also use the schema browser to see the child relation names.