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
Venkateswarlu BVenkateswarlu B 

How to override the NEW button on 'case comment related list'.Case page also custom standard controller(CASE) vf page .

How to override the  NEW button on 'case comment related list'.Case page also custom standard controller(CASE) vf page .
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Venkateswarlu,

May I request you to please refer the below link for reference. I hope it will be helpful.

Regards
Rahul
 
Venkateswarlu BVenkateswarlu B
Hi Rahul,

Thanks for quick reply.My question is I have created custom vf page for case instead of Case detail page and I have Casecomment related list as well.Now I want to override the NEW button on Casecomment related list OR I want to remove that NEW button and I want to put custom button which will redirect to my new Case Comment VF page.How Can I achieve this.
Lokesh KumarLokesh Kumar
Hi Venkat,

Create a New Custom button on CaseCommnet object of type List like below screen shot, and Hide the standard New and add Custom Button on Page layout of Case object.

Let me know if this helps you!

User-added image

Thanks
Lokesh