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
Tom DJTom DJ 

Updating custom records


I am getting the following exception error from one of our customer for an App Exchange application (managed package).   


Apex script unhandled exception caused by: System.SObjectException: Field is not writeable: APPPREFIX__Filter__c.APPPREFIX__Blocked_Count__c 


The object and field is defined by our application and is not a customer defined object or field.   The application is doing an update of the record from a VF controller that calls a class that has "Without Sharing" in order to do the update .    Shoudn't our application always be able to write to this object if using "Without Sharing"?


If not, how does an application make sure that it can write to its own defined objects at all times no matter what user is triggering the update.


Thanks in advance,


Tom DJ