Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Customize view from code

Posted on by

Hi,

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 (https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-entity-forms) 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.

 

 

Categories:
  • Verified answer
    summitb Profile Picture
    summitb on at
    Re: Customize view from code

    I've figured this can be done using

    • Embedded Canvas app
    • PCF
  • Re: Customize view from code

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

     

    @Anonymous

  • v-xida-msft Profile Picture
    v-xida-msft on at
    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:

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/use-iframe-and-web-resource-controls-on-a-form

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-entity-views

     

    Best regards,

    Kris

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard