You need to sign in to do that
Don't have an account?
Animesh Datta
Query on FeedComment
Hi,
We have requirement to take copy of deleted feeditem and its comments. As casedelete does not work, we are deleting feedcomments using feeditem trigger. It works only for system admin, but does not work for other users as they do not have "View All Data" permission (Only Admin or users with View All Data permission can query on feedcomment). So is there any way to avoid querying feedcomment while feeditem is fired.
Regards,
Animesh
We have requirement to take copy of deleted feeditem and its comments. As casedelete does not work, we are deleting feedcomments using feeditem trigger. It works only for system admin, but does not work for other users as they do not have "View All Data" permission (Only Admin or users with View All Data permission can query on feedcomment). So is there any way to avoid querying feedcomment while feeditem is fired.
Regards,
Animesh
Querying FeedItem and FeedComment only work for users with the permission "View All Data" OR in a class that is defined as "without sharing".