You need to sign in to do that
Don't have an account?
Prit Kang 8
salesforce community user record sharing
I have a custom object whose sharing setting is private. I want to share a record of this object with a community user but not being able to do so. Normally we have a "Share Object" (OBJECTNAME__Share) but I am unable to insert a record in this object. I would not like to give the view all permission on that particular object to the community user.
Is there a way this can be achieved
Thanks
Is there a way this can be achieved
Thanks
Without sharing clause would ensure all rules are ignored and code runs in system mode. Hope this help. Mark this as resolution if you find so.
I am running the apex code from a standard user (salesforce license) context. The error I get is FIELD_INTEGRITY_EXCEPTION : invalid user or group which i believe states that the user is not of correct type to insert a new record. without sharing is also not an option for us as it will be red flagged in the security review process.