cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Martindeter
Level: Powered On

Updating a sharepoint column

Hi all, 

I try to create a visitor management application. 
I created 4 screens :
-Welcome screen (visitor clicks on "visiting" or leaving")
-Visitingscreen (visitor fills in fields and clicks on submit to create an item on a sharepoint list (VisitorList))
-Leavingscreen (visitor fills in Surname field and clicks on submit to update a column (CheckOut DateTime)
-Thanks screen

powerapps1.PNGVisitingScreenpowerapps2.PNGLeavingScreen

I don't know how to write the formula for the submit button on the LeavingPage. The Surname should match with the surname on the sharepoint list and update the right column. 

Could someone help me ? 

Thanks !!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Updating a sharepoint column

@Martindeter,

 

In your last screenshot try replacing "pp" with TextInput.Text

The "TextInput" is the name of the surname control on the screen.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Martindeter
Level: Powered On

Re: Updating a sharepoint column

Up. 

Martindeter
Level: Powered On

Re: Updating a sharepoint column

I wrote this function for my Submit button. I would like to replace "pp" by the surname field but it doesn't accept. 

 

 

 

powerapps3.PNG

skmcken
Level 8

Re: Updating a sharepoint column

Use the ID field of the List: - 

 

Patch('Visitor List',

{ID:FormSelectedRecord.ID,

CheckOut:Now()})

Super User
Super User

Re: Updating a sharepoint column

@Martindeter,

 

In your last screenshot try replacing "pp" with TextInput.Text

The "TextInput" is the name of the surname control on the screen.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 354 members 5,608 guests
Please welcome our newest community members: