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

Not possible to hide a case from customers in a Salesforce community with Apex?
I understand sharing sets for communities and also sharing settings, org wide sharing settings, etc. I understand that case visibility in a Salesforce community is controlled in Salesforce using hte Sharing Sets in the setup menu. However the issue I have is, I want a community user to only see cases on their account where a custom field on the case is set to "true". Cases where that flag is false should be hidden from that community user.
There is no way to do this through community sharing sets, nor through sharing settings, nor even apparently through the caseshare object and apex case sharing, because the community license is not suported for case sharing apparently.
Question: is it or is it not possible to hide a case from a community user in any way, based on that case having a checkbox field set to true. If it is possible please point me in the direction that I can pursue to accomplish this, if you've done it, because it is looking to me to be something that cannot be done in Salesforce at this time from what I am seeing. Thanks.
There is no way to do this through community sharing sets, nor through sharing settings, nor even apparently through the caseshare object and apex case sharing, because the community license is not suported for case sharing apparently.
Question: is it or is it not possible to hide a case from a community user in any way, based on that case having a checkbox field set to true. If it is possible please point me in the direction that I can pursue to accomplish this, if you've done it, because it is looking to me to be something that cannot be done in Salesforce at this time from what I am seeing. Thanks.
But we are intentionally not building a custom code community, because Salesforce's newer community templates are better and more robust and more scalable than building a community in code. I have experiecne with those and they generally are a bad idea.
What do you suggest?