Skip to main content
Kishore Talari (Cognizant) 님이 #Apex에 질문했습니다
Insufficient Privileges

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see Insufficient Privileges Errors. 

getting above error While changing the lead owner using auto assign custom buttom.

How to change this error message to custom one 
답변 1개
  1. 2017년 12월 13일 오후 9:32
    Hi,

    Create a Hierarchical Custom settings for the profiles which do not need the access to that custom button and put the validation inside the custom button that you have referred above. So, when the user clicks the button, custom message will be displayed.

    Thanks,

    Vini;