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
Chirag MehtaChirag Mehta 

Single row trigger not allowed, use the bulk keyword at

Few days back single row triggers were working fine , but now when i try to save them back it gives following error.

Error: Compile Error: Single row trigger not allowed, use the bulk keyword at line 1 column 1


Wht is wrong with Salesforce not supporting Single Row Triggers. ????




Chirag MehtaChirag Mehta
Thnks Simonf, for quick reply.

Bi the way i was using a intermediate solution, you can look at
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=442#M442


Now would be using the one provided on Recent Apex Code Changes page
SaurabhRawaneSaurabhRawane
Simon can you let me know what is that i need to enable to view debug log on my devlopment org,i am able to see apex log right now.
Chirag MehtaChirag Mehta
Now you can monitor the system log from within the salesforce.com user interface when actions taken invoke Apex Code. To open the console, click on the link which is located between the "Setup" and "Help & Training" links in the header:



The debug log console opens in a separate window and messages will append to the log as additional Apex Code is invoked through operations in the user interface.

As an example, in this screen shot a lead trigger that prevented a duplicate from being created generated the system log you see in the console: