Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Parent entity : Account
Child Entity : Contact
Field Parent on Contact entity visible if Account field Client = 1 otherwise hide Parent field.
Any clue how to do this via J Script? Looked into getting the Account Client field values but now I am stuck how to go further.
In order to perform that customization, you will have to use Xrm.WebApi to retrieve the account record based on the lookup.
Basically, you will have to combine the following articles:
Like Andrew mentioned below. you can achieve this by doing API call to Parent entity(Account) and getting the desired value(Client Filed value). Based on the client field Value from Account entity you can either Hide/Show parent field on Child.
You have to trigger this code on load for this to function as you are hiding parent field which I assume is Account entity lookup.
please feel free to reach out if it did not answer you request.
Business Applications communities