Salesforce Asked by Gershon on October 3, 2021
We have a profile that does not need to see notes/attachments/files inside of opportunities. How can I create an apex before insert trigger to look at the current user’s profile and hide the attachments?
You can do it without code actually. Just create new layout for Opportunity, remove related lists from it and assign it to your specific profile.
You can find it in Page Layout Assignment in Page Layouts section.
Answered by Mariia Illarionova on October 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP