cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Racime
Level: Power Up

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

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

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

Racime
Level: Power Up

Re: Creating an app with sharepoint data textbox

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

Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,198)