0

I have the following button on a vf page.

<apex:commandButton value="New Partner Entry" action="{!URLFOR($Action.Partner_c.New)}" /> 

This button, when pressed opens the page in the small VF page on the record layout.

Instead I want a new window to open as if I clicked the "New Partner" button on the standard salesforce page layout related list.

0

You should be able to use apex:commandlink with the target parameter, but you'll have to use CSS on the link to make it look like a button.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.