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 / Display and Edit forms...
Power Apps
Unanswered

Display and Edit forms blank

(0) ShareShare
ReportReport
Posted on by 23

Hi

I have modified a SharePoint list form, creating a form for Create, Edit and View.

 

My create form renders and submits fine. But when I attempt to view or edit an existing list item, the forms remain blank.

 

Following information online, I replicated the default screen and renamed as follows;

KevHouston_0-1593092143605.png

 

My SharePointIntegration is set as follows;

DataSource [@Listname]

On New - Set(SharePointFormMode, "CreateForm"); NewForm(CreateItemForm); Navigate(CreateScreen, ScreenTransition.None)

On Edit -  Set(SharePointFormMode, "EditForm"); EditForm(EditItemForm); Navigate(EditScreen, ScreenTransition.Fade)

On View - Set(SharePointFormMode, "ShowForm"); ViewForm(ShowItemForm); Navigate(ShowScreen, ScreenTransition.Fade)

On Save - If(SharePointFormMode="CreateForm", SubmitForm(CreateItemForm), If(SharePointFormMode="EditForm", SubmitForm(EditItemForm)))

On Cancel - If(SharePointFormMode="CreateForm", ResetForm(CreateItemForm), If(SharePointFormMode="EditForm", ResetForm(EditItemForm)))

 

Attempting to edit or display a list item only results in this;

 

KevHouston_1-1593092313916.png

 

DataSource is the same [@listname] for each of the 3 forms.

 

Default mode for the forms

 

ShowItemForm - Formmode.View

CreateItemForm - FormMode.New

EditItemForm - FormMode.Edit

 

Does anyone have any ideas why my Display and Edit forms are not loading?

 

Categories:
  • KrishnaV Profile Picture
    5,023 on at

    Hi @KevHouston ,

     

    Ensure that in your edit form screen you have set items property also.


    On Edit -  Set(SharePointFormMode, "EditForm"); EditForm(EditItemForm); Navigate(EditScreen, ScreenTransition.Fade)

    Item: First(filter(SharepointListName,ID=SelectedID))

     

    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @KevHouston 

    As @KrishnaV  pointed out above, there must be an Item property in the edit form when it is in edit mode because when in this mode, the form must have a valid record to edit.  The reason it displays in New mode is because the record doesn't exist until it is created by the form and the Item property is ignored when the form is opened in this mode. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard