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 / varFormMode for patche...
Power Apps
Unanswered

varFormMode for patched forms to view form after ?

(0) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1

Hello,

 

I have built the below app that is not using the SharePoint form control in Power Apps. 
This has been built with a custom interface with each field being patched to a SharePoint list with a Select button's OnSelect action.

sudosaurus_0-1669933166065.png

Ideally once the form has been submitted, we would like to review previous submissions and view the submitted data on another screen where it's referncing data from the list.

 

I know it's possible to do this with the SharePoint form control however I wouldnt easily be able to mirror the same layout as above. 

 

Is there any way to do this with varFormMode at all to view patched data?

On the homepage of the app there is a gallery that shows the submitted items but obviously when clicking into the item we are taken to a blank new form.

sudosaurus_1-1669933201978.png

 

 



Categories:
  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @sudosaurus 

     

    Is below how you want to achieve it?

     

    311.gif

    31.gif

     

    In my experience creating my own custom forms, I use Patch and view the last submission thru the Set Function. 

     

    Set(varLastSubmit,
     Patch('Test 6',
     {Title: TitleText.Text,
     Name: NameText.Text
    }));

     

     

    Then on my form, I would have like this:

    cha_cha_0-1670128020762.png

     

    For the varFormMode variable, would probably do in my case like this:

     

    If(varFormMode="Edit",varLastSubmit.Title,"")

     

    cha_cha_1-1670128159148.png

     


      ✔️
    Just in case you my answer helped you solve your problem, please mark/accept this as a SOLUTION.  This helps community members if they experience a similar issue in the future.

     

      🔗
    🕸bistek.space  🐦 @cha_bistek  📺 @BisTekSpace 

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard