cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oappdev
Advocate V
Advocate V

Update Dropdown same value in 2 different SharePoint List

Happy Thursday! What is the best approach to update the same value from one drop-down menu to another 

 

SharePoint List A is call RequestsColumn: Status Type: Choice

SharePoint List B is call Report WriterColumn: Report Status | Type: Choice

Once the user updated on SharePoint List A it will reflex the same value SharePoint List B and vice verse 

Capture.PNG

 

Hopefully i explain it clearly 🙂

 

Thank you in advance

2 ACCEPTED SOLUTIONS

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @oappdev ,

Actually Friday here in Oz.

Just so I am clear on what you want - you need the Report Status field in a new record in a SharePointIntegration PowerApps form to pull from another list in SharePoint where you have selected the item.

I assume by the tabs that you have two screens, the first based on the list selected and the second writing a new record (or is it an edit to the record) on another list.

May be pushing the envelope of design here, but you should have the value you need on the other screen. On the main list, the reference should be SharePointIntegration.Selected.FieldName (FieldName being the actual name), so if the default of a new record is set to this, it should populate. If I am on the right track here, we can expand this hopefully.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Ok thanks @oappdev ,

I am in Queensland, Australia.

The are probably many ways of doing this, but I will run with a Variable.

You have a Request form with a Status field  - I will assume for the moment this is a text value,The Form name is not needed, but the control name (the field that is showing the data) is.
I will call it RequestStatus (its name will probably be TextInputxx - rename code below to this)

On the button to switch screens add to the code

Set(vStatus,RequestStatus.Text)

Here I am also using a Form name you will have to rename to yours - the form I will call ReportWriter
Put on the Default of the control you have labelled Report Status (also replace CurrentDefault with what the Default is presently)

If(
   ReportWriter.Mode = FormMode.New,
   vStatus,
   CurrentDefault
)

To clean up at the end, put this on anything that exits or submits the form

Set(vStatus,Blank())

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

 

View solution in original post

4 REPLIES 4
WarrenBelz
Super User III
Super User III

Hi @oappdev ,

Actually Friday here in Oz.

Just so I am clear on what you want - you need the Report Status field in a new record in a SharePointIntegration PowerApps form to pull from another list in SharePoint where you have selected the item.

I assume by the tabs that you have two screens, the first based on the list selected and the second writing a new record (or is it an edit to the record) on another list.

May be pushing the envelope of design here, but you should have the value you need on the other screen. On the main list, the reference should be SharePointIntegration.Selected.FieldName (FieldName being the actual name), so if the default of a new record is set to this, it should populate. If I am on the right track here, we can expand this hopefully.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Thank you @WarrenBelz  Here from South Florida "Miami"

 

You are the right track. Just wanted to see if it could be done 🙂

The First Tab -  "Requests"  stored all the new submission from a PowerApps Form 

The Rerun Report Writer is where the admin will add note and update the "Status".

 

So if the Status get updated on the "Rerun Report Writer i want to show on the Requests Tab?  Does that make sense? Let me know if i explain clear enough 

 

Maybe l 'm doing something wrong

Capture.PNG

 

Capture1.PNGCapture2.PNG

Ok thanks @oappdev ,

I am in Queensland, Australia.

The are probably many ways of doing this, but I will run with a Variable.

You have a Request form with a Status field  - I will assume for the moment this is a text value,The Form name is not needed, but the control name (the field that is showing the data) is.
I will call it RequestStatus (its name will probably be TextInputxx - rename code below to this)

On the button to switch screens add to the code

Set(vStatus,RequestStatus.Text)

Here I am also using a Form name you will have to rename to yours - the form I will call ReportWriter
Put on the Default of the control you have labelled Report Status (also replace CurrentDefault with what the Default is presently)

If(
   ReportWriter.Mode = FormMode.New,
   vStatus,
   CurrentDefault
)

To clean up at the end, put this on anything that exits or submits the form

Set(vStatus,Blank())

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

 

View solution in original post

Thank you @WarrenBelz That will do the trick for now. Waiting for the feedback from the admin users 😁

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (80,592)