+ Start a Discussion
Matthew LohMatthew Loh 

Unable to create new apex trigger in developer console

Hey everyone

I'm on Salesforce Classic, and am a sytem admin.

I have enabled "Development Mode" in my user profile, but everytime I go to Dev mode from My name --> Development Mode

and click New --> Apex Trigger, this option is greyed out and I can't click it. See attached image

User-added image

Can someone please help me out? I'm new to SF :( sorry for such a silly question

Best Answer chosen by Matthew Loh
Amit Chaudhary 8Amit Chaudhary 8
Hi Matthew Loh,

Please check Profile not user object.
Please check below post
1) https://help.salesforce.com/articleView?id=code_system_log.htm&language=en_US&type=0
 

All Answers

sfdcMonkey.comsfdcMonkey.com
hi Matthew
go to below link for same issue
https://developer.salesforce.com/forums/?id=906F0000000AbzVIAS (https://developer.salesforce.com/forums/?id=906F0000000AbzVIAS)
let me inform  if it helps you
thanks
vijayabakarareddy yarrabothulavijayabakarareddy yarrabothula

for this  you need to eneble (To save changes to Apex classes and triggers:)“Author Apex” permission

step 1  goto  setup
step 2  Expand Manage Users and then click on users
step 3  click on  System Administrator
step 4   click on System Permissions
step 5  eneble the  Author Apex” permission
step 6   save 




 
Matthew LohMatthew Loh

hey @vijayabakarareddy yarrabothula and @piyush_soni

I do not have the "Author Apex" checkbox at all in my user settings. All I see are other things like "offline user", "marketing user", etc.

Also I am on Salesforce Professional Edition. Is this version eligible to use Apex?

Thanks

Amit Chaudhary 8Amit Chaudhary 8
Hi Matthew Loh,

Please check Profile not user object.
Please check below post
1) https://help.salesforce.com/articleView?id=code_system_log.htm&language=en_US&type=0
 
This was selected as the best answer