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 / Problem: Canvas app fo...
Power Apps
Answered

Problem: Canvas app form does not display items saved to SharePoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, 

 

I am experiencing a strange issue which is as follows:

1. User fills in the canvas app form

2. User saves the form to the SharePoint list (the record in the SharePoint list is created successfully)

3. User refreshes the SharePoint list and and clicks to Edit the created record

4. The form appears blank.

 

The functions that suppose to control what information is loaded when user what to edit existing record:

OnEdit = 

/*Set a variable for FormMode to Edit*/
Set(
 varFormMode,
 FormMode.Edit
);
//Navigate to 1
Navigate(
 screen_1,
 ScreenTransition.None
)

 

Form's Item =

If(varFormMode = FormMode.New, Defaults('SP List'),SharePointIntegration.Selected)

 

In my understanding, when user activates OnEdit function, varFormMode should be equal to FormMdode.Edit and this load items that belong to SharePointintegration.Selected. Perhaps there a mistake somewhere and someone would have any tips what should be checked? 

 

Would appreciate any advice as I a bit lost..

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,393 Most Valuable Professional on at

    Hi @Anonymous ,

    I have never been a fan of setting Modes in Variables - just refer to the Form directly

    If(
     FormName.Mode = FormMode.Edit,
     do whatever
    )

    Also for your Item on the form, try

    LookUp(
     SPListName,
     ID=SharePointIntegration.SelectedListItemID
    )

    Putting the form in New Mode takes care of the Item itself.

     

    Please click Accept as solution 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 Thumbs Up.

  • WarrenBelz Profile Picture
    154,393 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution 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 Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, @WarrenBelz . 

     

    Many thanks for the advice! That helped. I have also observed that it must have a been glitch in the Chrome browser - setting Modes in Variables worked fine in MS Edge

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard