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
Super User
Super User

Re: Updating a sharepoint column

@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

Re: Updating a sharepoint column

Up. 

Highlighted
Anonymous
Not applicable

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

Highlighted
Advocate IV
Advocate IV

Re: Updating a sharepoint column

Use the ID field of the List: - 

 

Patch('Visitor List',

{ID:FormSelectedRecord.ID,

CheckOut:Now()})

Highlighted
Super User
Super User

Re: Updating a sharepoint column

@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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,143)