Skip to main content
 I created a custom button so that it can assign cases to the most common queue with a click of a button. When I'm logged into the sandbox as admin or as a standard user, it allows me to use the button. However, when I log in as one of our custom profile, it doesn't allow me to use the button. When I click on it, nothing happens. I checked the profile's permissions and it has Manage Cases checked off as well as Transfer Cases. 

 

Why can't I use these buttons with the custom profile? 
2 answers
  1. Mar 4, 2011, 7:44 PM
     Here is the code:

     

    {!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")} 

     

    var caseObj = new sforce.SObject("Case"); 

     

    caseObj.Id = '{!Case.Id}'; 

     

    caseObj.OwnerId = '00G60000000vwLU'; 

     

    caseObj.Status = "Assigned"; 

     

    var result = sforce.connection.update([caseObj]); 

     

    window.location.href=window.location.href;

     

    I meant that it is checked for Manage Cases and Transfer Cases as well as Edit Comments.
0/9000