function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

popping up visual force links in new page

 When I click the new note.... it doesnt open up the thing in a new page? what'd i do wrong



Best Answer chosen by Admin (Salesforce Developers) 

It's a setting under the custom button

All Answers


It's a setting under the custom button

This was selected as the best answer

Of course I am assuming that this requires that I develop the ability to create a custom button that imitates my current standard buttons.


Is there a best practice here? The object in question is Contracts, and the subobject is NotesandAttachments.


The idea is to enable users to add notes and attachements that pop open into new windows from the contracts page.


I feel like I need to figure out how to create a custom button for notesandattachements, cant figure out where to do this.


I have this as my code though:




any ideas on how to get to the notes and attachements custom buttons.