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

Notifications

Announcements

Community site session details

Community site session details

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

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 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard