web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Hide related table's view column based on current user role and field value (Plugin)

(1) ShareShare
ReportReport
Posted on by 102
Hello,
 

Currently, I have a requirement, which is:

 

Background: In Contact form, there is a related table (Connection) subgid with a default view named All Connections. All Connection view has a column, named Total Amount.

 

Requirement: if

 

1. Contact custom field, named Contact Type, value = Employee 

AND

2. Current User has NOT been assigned security role - Company Management Role,

 

HIDE the Total Amount column or make it be blank

 

I'd like to write a plugin to achieve the logic above. Could you please provide an plugin code example or some resource I can reference?

 

Thank you so much in advance.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans