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 with datacard ...
Power Apps
Answered

Problem with datacard value in edit form after submit form

(0) ShareShare
ReportReport
Posted on by 294

Hello,

i have a problem with datacards values of my editform.

 

After i clik button with submitform function, the values of datacard automatically return to previous value inserted.

 

This cause me a problem with outlook365 v2 connector, beacuse send email with previous data of datacards.

 

What could be the cause of problem ?

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Editform returns data that is submitted back to the form. If you expect a fresh new form;

    Insert a Button and Onselect of the button;

    NewForm(Editform1)

     

    That should give you a New form for new enteries.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • gennarodp Profile Picture
    294 on at

    hello @eka24 , the problem is not this.

     

    I already use newform function.

     

    The problem is that after i fill in editform, and then run the function "submitform" the values in valuecard, come back to previous value.

     

    This a problem for me, because, then i run also a outlook connector, and this is related to valuecard.

     

    This valuecard must be the last values, not previous 

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    To have that last saved item in the form, use the LastSubmit.

    1. In the OnSuccess property of the Editform1, create a Variable:

         Set(MyLastItems,EditForm1.LastSubmit)

     

    2. Then in the Item property of the EditForm1 put:

         MyLastItems

    The form will display the current successfully saved record.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • gennarodp Profile Picture
    294 on at

    thank you very very much

  • gennarodp Profile Picture
    294 on at

    the function dosesn't go in error but not realise what i want.

     

    I want only that the valuecard doesnt' change with previous data after submit form function.

     

    I want only the last data fill in in valuecard, beacause this last data are used from outlook connector to send email.

     

    In the actual situation, email sended are with prevoious data of value card.

     

    I don't want overwrite data in sharepoint list

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard