Hi, I have created a field in Account object. Field - Account Stage. The Account stage shouldn't be updated by the given profile. -Chatter Free User and Chatter External User.
Chatter External: This license is designed to invite customers to Chatter groups. Customers are users outside of a company’s email domain. Customers can access information and interact with users only in the groups they’re invited to. They have no access to Salesforce objects or data.
Chatter Free The Chatter Free license is designed for users who don’t have Salesforce licenses but need access to Chatter. These users can access standard Chatter items such as people, profiles, groups, and files, but they can’t access any Salesforce objects or data. Chatter Free users can also be Chatter moderators. Chatter Free users don’t see tabs like other Salesforce users. Chatter Free users access Chatter feeds, people, groups, and files using the links in the sidebar of the Chatter page.
Hi Vinay thanks for replying but actually I don't want these profile to update this field it should show the error message when updated by these profile.
Try below validation rule.
Chatter External:
This license is designed to invite customers to Chatter groups. Customers are users outside of a company’s email domain. Customers can access information and interact with users only in the groups they’re invited to. They have no access to Salesforce objects or data.
Chatter Free
The Chatter Free license is designed for users who don’t have Salesforce licenses but need access to Chatter. These users can access standard Chatter items such as people, profiles, groups, and files, but they can’t access any Salesforce objects or data. Chatter Free users can also be Chatter moderators. Chatter Free users don’t see tabs like other Salesforce users. Chatter Free users access Chatter feeds, people, groups, and files using the links in the sidebar of the Chatter page.
Thanks,
Vinay Kumar
When validatuion rule condition evaluates to true, Defined error message will be shown to the user and record will not be updated.
Thanks!!
Did you try the above validation? Use above validation rule and that should trigger an error.
However, I believe the chatter external profile doesn't have access to salesforce object. Check below link for same.
https://help.salesforce.com/articleView?id=users_license_types_chatter.htm&type=5
Thanks,
$Profile.Name = "Chatter External User" or $Profile.Name = "Chatter Profile"
If you have multiple try to use OR condition.
OR($Profile.Name = "Chatter External User"),$Profile.Name = "Chatter user profile"))
Please mark as Best Answer if above information was helpful so that it can help others in the future.
Thanks,
Vinay Kumar
If you have multiple profiles
Thanks,
Thanks,