cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Creating an app with sharepoint data textbox

Hi,

I am new to Power apps. The problem is that i can't seem to find out how i can save the data from my Screen (form) to the database on sharepoint. I have a textbox and combobox that i want to connect to the database. I created the database connection and it is visible in the left pane so that works.

 

I now have a textbox, this text should be written to my Sharepoint data. The same accounts for my combobox that i want to fill from the Database so the use can select the data and then save it to the database.

 

All saving should be done on buttonclick.

Can anyone tell me on how to save the data to the existing database?

 

Furthermore i want to know how i can add new records to my existing database when i have the above working.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Creating an app with sharepoint data textbox

The easiest way to do that is using the Patch() function.  Depending on what you specify in the second parameter you can either create new records or update existing records.  Here's a video that explains how Patch() works.

https://www.youtube.com/watch?v=gX5q_V3U8-s



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User II
Dual Super User II

Re: Creating an app with sharepoint data textbox

The easiest way to do that is using the Patch() function.  Depending on what you specify in the second parameter you can either create new records or update existing records.  Here's a video that explains how Patch() works.

https://www.youtube.com/watch?v=gX5q_V3U8-s



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
New Member

Re: Creating an app with sharepoint data textbox

Hi, That seems to do the trick. Thank you.

Highlighted
Community Support
Community Support

Re: Creating an app with sharepoint data textbox

Hi @Racime ,

Have you solved your problem?

 

Based on the needs that you mentioned, I think the Patch function could achieve your needs. Please check and see if the following video would help in your scenario:

https://www.youtube.com/watch?v=gX5q_V3U8-s&t=800s

 

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 (9,331)