function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Daniel PasternakDaniel Pasternak 

New Apex class menu item disabled in developer console.

Hello!
I have sandbox to develop Apex code. I can't make new Apex class or trigger in sandbox cause of menu item disabled.
Can you help me?

Thank you!

User-added image
Khan AnasKhan Anas (Salesforce Developers) 
Hi Daniel,

If you are indeed in a Sandbox org, check if you have "Author Apex" permission checked in your profile under "Administrative Permissions". If it is disabled, enable it.

Also, Unlimited Edition and Enterprise Edition production organizations cannot modify Apex in the user interface. 
Group edition does not have any API or programming functionality.

Please refer to below link for more information.

https://help.salesforce.com/articleView?id=code_system_log.htm&type=5


I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas
Daniel PasternakDaniel Pasternak
Khan Anas, i can't find "Author Apex" in profile settings.
Before i ask question i had found same answers, but i can't find that option.
I try to find word "APEX" in "Profiles -> System Administrator -> Edit" as you can see and it finds only "Apex REST Services" string.
User-added image

 
King LuciferKing Lucifer
I am also having trouble with the same  problem.I am not seeing the "Author Apex" in my developer sandbox anywhere. Can you please help me out here?
King LuciferKing Lucifer

Hi Daniel,

Can you please help me here? I have tried all the profile and permission set settings but these two options are coming as disabled.

 

Thanks,
Abhisek

yasmeen alizayyasmeen alizay
Hello!
I can't make new Apex class or trigger in sandbox cause of menu item disabled.
Can you help me?
User-added image
Thank you!