Showing results for 
Search instead for 
Did you mean: 
Level 8

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.
Level 10

Re: Customize view from code

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



Helpful resources

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Power Apps Community User Group Member Badge

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


Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,233)