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 / After I create or modi...
Power Apps
Unanswered

After I create or modify an item ,how to set the app to select that item that i just created or modified by defalut.  Now ,after I sumbit the new item or modify the item ,there is no item selected in the Gallary

(0) ShareShare
ReportReport
Posted on by 389

Dear , all

After I create or modify an item ,how to set the app to select that item that i just created or modified by defalut. 

Now ,after I sumbit the new item or modify the item ,there is no item selected in the Gallary by default.

DATA SOURCE : Sharepoint list

 

GUOGUO_0-1651672604303.png

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @GUOGUO 

    Check the Item property of your Form.  If it is referencing the Gallery.Selected property, then change it to a variable.

    So, in your Gallery, set the OnSelect action that brings the record to your form to be something like:

       Set(glbCurrentRecord, ThisItem)

    Then set the Item property of your form to:  glbCurrentRecord

    In your Form OnSuccess action, add the following formula:  Set(glbCurrentRecord, Self.LastSubmit)

     

    Then, change the Default property of your Gallery to: glbCurrentRecord

     

    I hope this is helpful for you.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard