cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TechFreak
Level: Powered On

PowerApps saving data from 2 sources to one SharePoint Row

Hi everyone,

 

I am trying to save data from a collection and an "edit form" to a single sharepoint row. Is that possible? If so, how?

 

I thank you for your help in advance.

 

Sincerely

TechFreak

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: PowerApps saving data from 2 sources to one SharePoint Row

You can use the 1 form to submit all the data you want than.

 

For example you have these field on the SP list:
Title,Description,Price,Amount,Item

 

In your PowerApp you have a collection with: 

Item,Price

In your Power App you have a form that the user need to fill in with:

Title,Item,Description, Amount

 

To pass the Price from the collection to your SP record you can add the Price Field to the Form with these properties on the datacard:

Default:
LookUp(collection, ItemInputfield.Text = Item).Price

Visible:
false

 

The ItemInputfield.Text will refer to the field that is filled in in the form.

View solution in original post

3 REPLIES 3

Re: PowerApps saving data from 2 sources to one SharePoint Row

Hello @TechFreak ,

 

The Edit form is data form another SP List?

 

If so you can add a form for the new list and In all the defaults of the fields you can refer to the other form or collection.
This form you can set to Visible false and in your button you also submit this form like your first form.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

TechFreak
Level: Powered On

Re: PowerApps saving data from 2 sources to one SharePoint Row

Hi,

 

No the form is from the same Sharepoint list and the default mode is seto to "New".

Re: PowerApps saving data from 2 sources to one SharePoint Row

You can use the 1 form to submit all the data you want than.

 

For example you have these field on the SP list:
Title,Description,Price,Amount,Item

 

In your PowerApp you have a collection with: 

Item,Price

In your Power App you have a form that the user need to fill in with:

Title,Item,Description, Amount

 

To pass the Price from the collection to your SP record you can add the Price Field to the Form with these properties on the datacard:

Default:
LookUp(collection, ItemInputfield.Text = Item).Price

Visible:
false

 

The ItemInputfield.Text will refer to the field that is filled in in the form.

View solution in original post

Helpful resources

Announcements
thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

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