Adding a Button in List View for a Single Doctype

I am currently working on customizing the list view of a specific doctype and would like to inquire about adding a button. My intention is to include this button exclusively for this particular doctype, without affecting any others.

Could you please provide guidance on how to achieve this customization?


I am unable to create button in the listview please explain me clearly

See all the references given to you and apply the Listview client script.

i am also apply same action but i am not getting the result

My Script:

My Doctype:

Check first example in reference:

In v15/14, the syntax is changed.