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 / SharePoint Power App F...
Power Apps
Answered

SharePoint Power App Formular with parameters always opens first list item

(0) ShareShare
ReportReport
Posted on by 2
Hello,
 
I created on a SharePoint List a Power App Formular and got the link to the Power App, so I can give some parameters in the link according to this guide: About365 - Passing parameters to your Power Apps SharePoint form
 
But when I open the Power App with the link it always opens the first list item in edit mode. How can I make the Power App create a new item instead?
 
Thank you in advance!
Niklas
Categories:
I have the same question (0)
  • Verified answer
    FatihDagdelen Profile Picture
    53 on at
    Hi Niklas :)

    Possible Cause
    The Power Apps form is likely using SharePointIntegration.Selected as its default behavior. This means that when the app opens, it is selecting the first item in the list instead of creating a new one.
     
    Solution: Force the Form to Open in New Item Mode
    To ensure the form always creates a new item instead of editing an existing one, follow these steps:
    1. Modify the Item Property of the Form
    Update the Item property of your form to check if an ID parameter is provided. If not, force a new form creation:
    If(
        IsBlank(Param("ID")), 
        Defaults(YourSharePointList), 
        LookUp(YourSharePointList, ID = Value(Param("ID")))
    )
    ✔ Explanation:
    If no ID is passed, it creates a new item using Defaults(YourSharePointList).
    If an ID is passed, it looks up the corresponding record.


    2. Use NewForm() on App Start
    In the OnStart or OnVisible property of your screen, force the form to always open in New mode:

    If(
        IsBlank(Param("ID")),
        NewForm(YourForm)
    )
     
    This ensures that even if the app defaults to the first item, it will switch to creating a new item.

    3. https://apps.powerapps.com/play/providers/Microsoft.PowerApps/apps/<APP_ID>?Mode=New

    Then, modify your form logic to check for this parameter:

    If(
        Param("Mode") = "New",
        NewForm(YourForm)
    )





     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard