cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

Up. 

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

Use the ID field of the List: - 

 

Patch('Visitor List',

{ID:FormSelectedRecord.ID,

CheckOut:Now()})

@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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,905)