function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stuart Miles 25Stuart Miles 25 

cloning the standard Activities lightning component and removing the visibility of the comments / notes/ descriptions field for both tasks and events.

Hi All - is there a way to clone the activities lightning standard component (both for Event and Task) showing on account and contact page layouts so that i can customise it to remove the visibility of the comments / notes/ descriptions field for both tasks and events for certain users. I would like to be able to use the cloned custom component and filter on the activities "assigned to" user's business unit saved on the user related object so that it is visible / read only for those users not in the same business unit. Thanks