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
Sarvesh PrajapatiSarvesh Prajapati 

open execute anonymous window disabled

Hi

open execute anonymous window is disabled in developer console. Due to this I'm unable to write and execute any apex code.
Please let me know how I can enable it.

Sarvesh
Himanshu ParasharHimanshu Parashar
can you put a screenshot ?
 
Sarvesh PrajapatiSarvesh Prajapati
Hi Himanshu

Please see below screenshot

User-added image
Sarvesh
Himanshu ParasharHimanshu Parashar
Make sure you have Author Apex permission on profile

User-added image
Sarvesh PrajapatiSarvesh Prajapati
Hi Himanshu

I cann't find profile in Quick find box. Hence unable to check this.

Sarvesh.
Himanshu ParasharHimanshu Parashar
Go to Setup->Manage Users->Profiles-> Select the profile
Sarvesh PrajapatiSarvesh Prajapati
Hi Himanshu,

I cann't find Profiles under Manage users. Only below options are available.

Administer-
Manage Users-

Users
Adoption Manager
Mass Email Users
Roles
Permission Sets
Public Groups
Queues
Login History
Identity Verification HistoryNew

Sarvesh
Himanshu ParasharHimanshu Parashar
What is your Salesforce Edition?

Profile option is available in Enterprise, Unlimited, Developer, and Database.com Editions .
Sarvesh PrajapatiSarvesh Prajapati
Hi Himanshu

Its showing professional edition.
Any idea how I can change it to developer edition?

Sarvesh.
Lindsay Holmes 18Lindsay Holmes 18
I realize this is an old thread, but thought I would answer this in case anyone else ran into the same problem.

Professional Edition does not allow the use of Apex (authoring or running) for any users of the org. If you want to write custom code, you will need to purchase a higher edition.