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
Soundar Rajan PonpandiSoundar Rajan Ponpandi 

JavaScript Detail Page Button Displaying Visualforce Page with a Child Tab

How can we display a visualforce page in child tab by a (Detail Page) button click.

Regards,
Soundar.
Best Answer chosen by Soundar Rajan Ponpandi
Soundar Rajan PonpandiSoundar Rajan Ponpandi
Hi,
I have a good solution for that, Refer the simple javascript code .
 
{!REQUIRESCRIPT("/soap/ajax/10.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")}

window.open('/apex/Email_Merging?Case_Id={!Case.Id}','_blank');

Regards,
Thanks.​