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 / Configure Properties o...
Power Apps
Suggested Answer

Configure Properties of Screen Views and Forms; Format of Link to each screen

(0) ShareShare
ReportReport
Posted on by 21
I have a Sharepoint List. I customized the form by clicking Integrate > Power Apps > Customize Form


Now, in Power Apps studio, I have 3 screens:
FormScreen_New with New form
Screen_Edit with Edit form
Screen_View with View form.

1. What should be the format of the link so that when the user clicks the link in the approval notification, it will direct them to the right screen view and form?
Is this not correct? https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen={Screen name}&ItemID={ID}

2. How should I configure each screen and form in such a way that when I click the link, it will work?


I want to achieve how infopath forms behave like in this format:

https://<yourtenant>.sharepoint.com/sites/<yoursite>/Lists/<List Name>/Item/newifs.aspx?ID=<ID>&DefaultView={view name}
https://<yourtenant>.sharepoint.com/sites/<yoursite>/Lists/<List Name>/Item/editifs.aspx?ID=<ID>&DefaultView={view name}
https://<yourtenant>.sharepoint.com/sites/<yoursite>/Lists/<List Name>/Item/displayifs.aspx?ID=<ID>&DefaultView={view name}
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    pls try the following:
     
    You need to pass parameters to identify the target screen and the specific item ID. https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen={Screen Name}&ItemID={ID}
     
    New Item - https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen=FormScreen_New
    Edit Item - https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen=Screen_Edit&ItemID=123
    View Item - https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen=Screen_View&ItemID=123
     
    In the app's OnStart property, capture the parameters from the URL:
    Set(ScreenParameter, Param("screen")); // Captures the screen name
    Set(ItemIDParameter, Value(Param("ItemID"))); // Captures the item ID (if provided)
     
    On each screen (FormScreen_New, Screen_Edit, Screen_View), use the OnVisible property to configure the form behavior:
    New Screen (FormScreen_New): - If(ScreenParameter = "FormScreen_New", NewForm(YourFormName));
    Edit Screen (Screen_Edit): If(
        ScreenParameter = "Screen_Edit" && !IsBlank(ItemIDParameter),
        EditForm(YourFormName);
        YourFormName.Item = LookUp(YourDataSource, ID = ItemIDParameter)
    );
    View Screen (Screen_View): If(
        ScreenParameter = "Screen_View" && !IsBlank(ItemIDParameter),
        ViewForm(YourFormName);
        YourFormName.Item = LookUp(YourDataSource, ID = ItemIDParameter)
    );
     
    When generating approval notifications, include dynamic links with the appropriate parameters:
    For New items - https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen=FormScreen_New
    For Edit items - https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen=Screen_Edit&ItemID={ID}
    For View items - https://apps.powerapps.com/play/{App ID}?tenantId={Tenant ID}&screen=Screen_View&ItemID={ID}
     
    let me know if you need more details. thanks

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard