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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Set field visibility according to company.

(0) ShareShare
ReportReport
Posted on by 5

I need to set a specific field's visibility according to company in Dynamics 365. Let's say I have two legal entities (companies), cmpA and cmpB. And I need to show FieldA from TableA on my form when I select cmpA on browser. But when I select cmpB, the field should not appear on the form.

How do I achieve this? Should I use a method (if yes, then how do I write the required method) for it or is there any other procedure? And should I do it on table level or form level? 

I have the same question (0)
  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at
  • Suggested answer
    omesh Profile Picture
    141 on at

    Hi Young,

    Have you tried using 'CountryRegionCodes' field property on table level. If you set it for particular company then the field will be visible for the selected company.

    Please check the link -  Apply country/region context - Finance & Operations | Dynamics 365 | Microsoft Learn

    Thanks,

    Umesh

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 174

#2
ManoVerse Profile Picture

ManoVerse 58 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans