Print this page

User cannot create Cases using newly created Custom Button

Knowledge Article Number 000176148
Description User has got the following error whenever they try to create new case using a new custom button:

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. Click here to return to the previous page.

First go ahead and verify the following:
  • User has Access to Case object
  • User has correct access to Record Types
  • Record Types have been mapped and allocated correctly
  • All profile permissions are correct
Resolution Login as the User and try to replicate the error. If you review the error you may receive additional information as to the origin of the error or you may receive a name that relates to a visual force page.

Troubleshoot further by verifying that the new button is associated with a Visual Force Page.  You may do this by following the steps below.

·         Go to Setup | Administration Setup | Manage Users | Profiles
·         Click on the profile label 
·         Scroll to the bottom and click edit for "Enabled Visualforce Page Access". 

 
If you see additional Visual Force Page which are not included within the given profile, especially is one of the Visual Force page names correlates to the error originally received. Go ahead and allow access to these pages under the profile in question.

You may follow the steps below to enable VF page access to the profile:
 
·         Go to Setup | Administration Setup | Manage Users | Profiles
·         Click on the profile label 
·         Scroll to the bottom and click edit for "Enabled Visualforce Page Access". 
·         Add the visual force pages 
·         Click save

 
OR
 
·         Login to salesforce.com
·         Click on Setup | App Setup | Develop | Pages 
·         Click security next to the page 
·         Add profiles. 
·         Click save



Once you have enabled the Visual Force pages under the new Profile, ensure that you are now able to create cases using your new Custom button.




promote demote