You need to sign in to do that
Don't have an account?

Issue - DML not Allowed on CaseTeamMember/ QueueSobject Objects
Hi there,
Is there a way to config permissions allowing users with 'Customer Community User' profile to be able perform DML on the CaseTeamMember object and select info from QueueSobject Objects. I couldn't find anything that works under the profile 'Object Settings'.
I'm building VF pages that allow external customers to create a new case and add/remove Collaborators into/from their opened cases.
CaseTeamMember newCaseMember = new CaseTeamMember(); newCaseMember.ParentId = caseId; newCaseMember.MemberId = cons[0].Id; newCaseMember.TeamRoleId = [SELECT Name, Id FROM CaseTeamRole WHERE Name =: 'Case Member'].Id; insert newCaseMember;
QueueSobject cOwner = [Select SobjectType, Queue.Id, Queue.Name, Id From QueueSobject Where Queue.Name =: 'Incoming Cases' limit 1];
Thank you,
I have a full utility class that is setup with Objects (Programming objects, not Salesforce objects). The master object "class" is cleverly called "UtilityClass" and there are sub classes that can be initialized again, one of them is setup without sharing, and I do DML that a particular user might not have access to via that class. Might be a bit advanced for you, but here is the outline if you should choose to use it later: Here is the way you would initalize it and use it: Again this might be over kill for what you've described right now.
All Answers
I have a full utility class that is setup with Objects (Programming objects, not Salesforce objects). The master object "class" is cleverly called "UtilityClass" and there are sub classes that can be initialized again, one of them is setup without sharing, and I do DML that a particular user might not have access to via that class. Might be a bit advanced for you, but here is the outline if you should choose to use it later: Here is the way you would initalize it and use it: Again this might be over kill for what you've described right now.