How can i get Accept button which we see in List views of leads on details page of each lead. I tried but Lead page layout doesn't show option to add this button. Have anyone implemented this function. Is it even possible to put accept from list view on to detail page.
I have seen custom button codes for changing owner. first of all most of these solutions are about accepting cases. Also such custom button will appear on all leads user have access to. We can give error on accepting wrong lead but button shouldn't be visible if lead is not in queue.
Any suggestions?