Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 2Z7/pKoaa8QTebSQ0S1mSR
Power Apps - Microsoft Dataverse
Answered

Custom page embedded in modeldriven app table form is not showing

Like (0) ShareShare
ReportReport
Posted on 28 Mar 2025 09:56:39 by 13
I have a modeldriven app table form with a tab where i have embedded a custompage. When I deploy it to my uat environment it working fine but i prod it displaying an empty tab. It looks like the custompage is not opened for the app users - It ONLY works when I'm opening form!!. Is there some additional permissions that I need to provide to the users?
 
 
some of the code: 
fetch('https://' + window.location.hostname + "/api/data/v9.2/environmentvariablevalues?$select=environmentvariablevalueid,_environmentvariabledefinitionid_value,value&$expand=EnvironmentVariableDefinitionId($select=displayname,schemaname)&$filter=EnvironmentVariableDefinitionId/schemaname eq '" + envvariable + "'", {
           method: 'GET',
            headers: {
            'Content-Type': 'application/json; charset=utf-8  '
            }
        }).then(response => response.json())
        .then(async (wr) => {
 
            //set IFrame source to app-url and add ID of record
            var appid = wr.value[0]['value'];
            document.getElementById('iframe').src = 'https://apps.powerapps.com/play/e/' + appid + '?recordId=' + id;
        });
 
Categories:
  • Verified answer
    AM-28030931-0 Profile Picture
    13 on 28 Mar 2025 at 16:05:08
    Custom page embedded in modeldriven app table form is not showing
    It was actually not the permissions to canvas app but read access to Environment Variable Definition table that was missing.
  • AM-28030931-0 Profile Picture
    13 on 28 Mar 2025 at 12:40:48
    Custom page embedded in modeldriven app table form is not showing
    Thanks @GabGadou
    I have checked the permissions on the app. I have shared page with an Azure security group and provided that with security role for the dataverse tables used. 
     
    I found it - the permissions for canvas app was missing.
    Cheers 
     
    Anders
  • GabGadou Profile Picture
    540 on 28 Mar 2025 at 12:15:20
    Custom page embedded in modeldriven app table form is not showing
    Hi,
     
    Here's the problem with embedded canvas, you need to share the app with all users using your application. You did not say that you shared the application, this is why I'm talking about it :). Users from development/UAT environments are not the same from Production environment. Maybe you can work with security group from Azure ? Otherwise, you can use 'Everyone', but it is not a secured way to do it.
     
     
    About permissions, for sure, users need to have privileges on 'Canvas app' from your security roles.
     
     
    I hope it helps!
    _____________________________________________________
     
     Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,636 Most Valuable Professional

Leaderboard

Featured topics

Loading started