web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom page embedded i...
Power Apps
Answered

Custom page embedded in modeldriven app table form is not showing

(0) ShareShare
ReportReport
Posted on 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;
        });
 
I have the same question (0)
  • Gabriel G. Profile Picture
    831 Moderator on at
    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.
  • AM-28030931-0 Profile Picture
    13 on at
    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
  • Verified answer
    AM-28030931-0 Profile Picture
    13 on at
    It was actually not the permissions to canvas app but read access to Environment Variable Definition table that was missing.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard