Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Submit Form and ThisItem doesn't update

(0) ShareShare
ReportReport
Posted on by 180

I have a canvas app, very basic run off a SP list, when I submit the form I stay on the form page and the SP list is updated but "ThisItem.XXXX.Value"  will not get updated. I have some logic for thisitem but that logic doesn't get updated as thisItem seems to stay on the value from when the form loaded.  

 

Any suggestions on refreshing it?

Categories:
  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Submit Form and ThisItem doesn't update

    HI @CiaranCampbell,

    Well, you need to check how you set the Item property of your edit form.

    You could retrieve the latest status value by the formula you set for the Item property of your edit form.

     

    if you set the property of your edit form as Gallery.Selected, then you could set the Label text property with:

    Gallery.Selected.Status.Value

     

  • senna Profile Picture
    180 on at
    Re: Submit Form and ThisItem doesn't update

    Thank you @v-qiaqi-msft  but resetForm does not update the value of ThisItem.status.Value

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Submit Form and ThisItem doesn't update

    Hi @CiaranCampbell,

    I think you could set the following formula for the OnSuccess property of the edit form:

    ResetForm(FormName)

    Remember to set the DefaultMode of your form as Edit.

  • senna Profile Picture
    180 on at
    Re: Submit Form and ThisItem doesn't update

    Thank you @Ramole & @v-qiaqi-msft 

    Here is an example, its a choice field in SP list called Status, for test here i have a label in the field that shows what the ThisItem.status.Value is.

    1. When I open form it is New Application;

    CiaranCampbell_0-1714644910344.png

    2. In the DefaultSelectedItems for this dropdown i have some logic like;

    If(
         DataCardValue39.Selected.Value="Yes",
            LookUp(
                Choices([@myList].status),
                Value = "Equipment Ordered"
            )
    )
    3.  I change "DataCardValue39.Selected.Value" to be Yes and click button with SubmitForm(MyForm) on select
    CiaranCampbell_1-1714645173620.png
    4. My SP List is now has correct Status 
    CiaranCampbell_2-1714645298071.png

    5. The value for "ThisItem.status.Value" still stays at New Application;

    CiaranCampbell_3-1714645336955.png

    This is update for my card, it is correct because my list is correct

    CiaranCampbell_4-1714645512571.png

     

    I need the form to be refreshed in some way but do not want to have the user navigate away and back to form again

     

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at
    Re: Submit Form and ThisItem doesn't update

    Hi @CiaranCampbell 
    Are referring a lookup column or Choice field? if in that case check your Update of the Data Card, check what you have and make sure the datacardvalue name you should have something like this DataCardValue.Selected

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Submit Form and ThisItem doesn't update

    Hi @CiaranCampbell,

    More details are needed about  "ThisItem.XXXX.Value"  will not get updated.

    Which control and which property you set for this  "ThisItem.XXXX.Value"

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1