Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to make field required for particular teams

(0) ShareShare
ReportReport
Posted on by

Hi All,

Field called internal/external,

this field can me visible to internal and external Teams and Mandatory for internal and external Teams only.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: How to make field required for particular teams

    Hi Padmaja, if I understand your question correctly, you would like to make a field as mandatory when a user from a particular team ( internal/external) team opens the entity form.

    You can achieve this by writing a javascript as follows,

    1. create a javascript function that will read logged in users teams and see if it has the team you are looking for ( internal/external)

    2. accordingly make field as mandatory.

    3. call the above function from OnLoad event of the form, so when the form is loaded field will be mandatory based on the logic.

    please mark as answered if you problem is resolved.

  • Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: How to make field required for particular teams

    please refer to here community.dynamics.com/.../264506

  • Community Member Profile Picture
    on at
    How to make field required for particular teams

    Hi All,

    Field called internal external,

    this field can me visible and Mandatory for  internal and external Teams.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: How to make field required for particular teams

    Hi,

    For visibility, you can use field level security to achieve.

    More information about field security, you can take a look in here

    For required field, you can use JavaScript to make it mandatory by checking is user is in the team. If yes, make the field mandatory.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans