cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HelloThereAll
Helper I
Helper I

Copying from choice fields in one form to other choice fields in another form

I am supposed to auto-populate certain choice fields in one form for one SharePoint list with results from choice fields from the previously submitted form for a different SharePoint list.  I am not sure how to do that, since simply copying over the value is not considered a valid default value.  Also, I am not sure how to do it for single-entry fields, and how I would do it for multiple-entry fields.  I'm rather new to PowerApps, so please make sure to explain accordingly.

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @HelloThereAll ,

 

 

The default values is the result from the previously submitted form, so please try to set the OnSucces property of Form as follows.

Set(VarResult,Form1.LastSubmit.ChoiceColumn)

Then try to Modify the DefaultSelectedItems of combobox in current form as follow.

VarResult

Hope this helps.

Sik

View solution in original post

2 REPLIES 2
mdevaney
Super User III
Super User III

@HelloThereAll 
Use this code in the default field wherever you want to obtain a value from another list.

First(Sort(your_other_sharepoint_list, ID, Descending)).ChoiceColumnName

 

---
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."

v-siky-msft
Community Support
Community Support

Hi @HelloThereAll ,

 

 

The default values is the result from the previously submitted form, so please try to set the OnSucces property of Form as follows.

Set(VarResult,Form1.LastSubmit.ChoiceColumn)

Then try to Modify the DefaultSelectedItems of combobox in current form as follow.

VarResult

Hope this helps.

Sik

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (53,341)