cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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

VisitingScreenVisitingScreenLeavingScreenLeavingScreen

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
Highlighted

@Anonymous,

 

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
Highlighted
Anonymous
Not applicable

Up. 

Highlighted
Anonymous
Not applicable

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

Highlighted

Use the ID field of the List: - 

 

Patch('Visitor List',

{ID:FormSelectedRecord.ID,

CheckOut:Now()})

Highlighted

@Anonymous,

 

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,490)