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

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

Re: Updating a sharepoint column

Up. 

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
Helper V
Helper V

Re: Updating a sharepoint column

Use the ID field of the List: - 

 

Patch('Visitor List',

{ID:FormSelectedRecord.ID,

CheckOut:Now()})

Highlighted
Super User II
Super User II

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

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