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 / Edit form inefficient ...
Power Apps
Answered

Edit form inefficient delay loading

(0) ShareShare
ReportReport
Posted on by 7
Dear all,

I have been receiving this performance warning about my edit form (screen 2) item having an inefficient delay loading issue.

Here below is a screenshot of the error and the code used in the different properties 
Also I have noticed that after modifying the data and clicking on the submit button, it comes back to screen 1 but the modified information is not displayed right a way and other fields need to be updated a second time so that the modification is taken in consideration. 
 
Properties for the edit form
Item: 
DataTable1.Selected
 
DataSource:
Tableau
 
Properties for the submit button
If(
    IsBlank(Comment_DataCard3.Required && 'Action description_DataCard2'.Required && 'Achievement date_DataCard1'.Required),
    Notify(
        "Please fill the required fields before submitting",
        NotificationType.Error,
        2000
    ),
    SubmitForm(EditForm1) && Notify(
        "You updated successfully your data",
        NotificationType.Success,
        2000
    ) && Navigate(Screen1)
);
 
 
Has anyone an idea on how to solve this ? 

Many thanks.
 
Cheers
Categories:
I have the same question (0)
  • Verified answer
    MarkRahn Profile Picture
    1,231 Super User 2025 Season 2 on at
    Hi,
     
    There are several things you may need to change.
     
    1) Do you have a single Edit Form? It appears that you do and the form is named "EditForm1". If you only have a single form, you don't need to be checking the "Required" properties of these DataCards:
    Comment_DataCard3.Required && 'Action description_DataCard2'.Required && 'Achievement date_DataCard1'.Required

    The "Required" property is a True/False value. If these are set to "True", then the form will handle the error checking for you. With the check you are doing, you are only checking that the fields are Required (and I am not sure if the code you have is correct for that) . You are not checking to see if the user entered any information for those fields. Let me know if you need more of an explanation.

    2) Your Submit button should probably only have "SubmitForm(EditForm1)" in it. You should use other properties of the Form for everything else. The Form has "OnSuccess" and "OnFailure" properties.

    In the OnSuccess, you would set it to:

    OnSuccess runs if the data was able to be saved.

    In the "OnFailure", you would set it to something like this which would be more generic to any error that occurs:

    OnFailure runs if the data was not able to be saved.
     
    This might not resolve the "Inefficient delay loading" as your "EditForm1" is referencing "DataTable1.Selected".  For that, you may need to look at using a Global Variable to store the selected Item, and set your Form to reference that instead of "DateTable1.Selected"

    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a Like.
     
    Thanks
    -Mark
     
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Using Datatable1.Selected is generally acceptable for usage in mobile sized apps. What other control properties are you accessing in Screen2 from other screens? If you are accessing other properties from any other screen you should remove those references.

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 765 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 272

Last 30 days Overall leaderboard