Skip to main content
6 events
when toggle format what by license comment
Apr 13, 2017 at 12:54 history edited CommunityBot
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Feb 9, 2017 at 15:01 comment added Force2b_Mike I had the same issue with this. Normally, triggers operate in the "System Context", so I don't see why this operation should generate an error for classes that are "with sharing". However, I was able to get it to work by removing "with sharing" entirely - thus letting the class inherit the sharing mode from the calling trigger.
Mar 4, 2016 at 6:17 history edited manjit5190 CC BY-SA 3.0
Added SFDC documentation link and possible reason for error.
Feb 26, 2016 at 13:05 comment added Noob_NoVoice With Sharing was the issue here. I have changed my class back to without sharing and it worked like charm. Thanx:)
Feb 26, 2016 at 13:02 vote accept Noob_NoVoice
Feb 26, 2016 at 12:13 history answered manjit5190 CC BY-SA 3.0