Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Customize view from code


I was working on the model-based application where I have an Entity: Account associated with the Entity: contact associated with Entity: Role.

Is there a way to show the information related to a role, for example, a role name in the view of Account. And is there any way how I can customize view from code.


I read it here ( but I don't know much on how to code in Model-based application. Can anyone give a step by step process on how to generate view through code and how to get 3rd level look-up in the model-based application? Currently, I can only fetch data from related entity contact but I want information from the role as well.



Community Support Team
Community Support Team

Re: Customize view from code

Hi @summitb,

Could you please share a bit more about your scenario?

Could you please show more details about the code you used to custom your form?

Currently, I am not familiar with customizing entity view forms using code in Model-Driven app.

Please check and see if the following article would help in your scenario:


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Re: Customize view from code

@summitb thank you posting in the community. Can you review the latest reply and update the thread?



Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 311 members 4,418 guests
Please welcome our newest community members: