cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fransk
Helper II
Helper II

Sharepoint list column not updated from filtered combobox

Good Day,

 

I will appreciate any help on this as I have really tried all combinations. I have 2 lists, Leave Application and TestEmployees

 

I have a Card called Plant with DataCardValue18

 

DefaultSelectItems = Filter(TestEmployees, 'Employee Number'= DataCardValue2.Text).'Personnel subarea'

 

Default = ""

 

Items = ""

 

Update = DataCardValue18.Selected

 

The value in Plant is populated when an Employee number (DataCardValue2) is filled in but the value is not saved back to my Sharepoint List (Leave Application). My Sharepoint where I want the value saved is a lookup column.

 

Looking forward to any response.

 

Regards

 

 

 

12 REPLIES 12

Hi @RandyHayes 

 

But do they need to see it in a one value Combobox?  Or can you just add a Label that would display the Value? - For them to see it in a Label should be fine

 

No they are different

So then I need to understand more about your lists - as I see it you have 3 lists - LeaveApplication (I assume this is the primary list that we are trying to add records to), TestEmployees (not really sure how this fits in), and Plants (which has the value we want to put into the primary list column. - The List Plants will fall away because all the info is in the TestEmployees List now (Employee Number, Name, Personnel subarea....etc.

 

The question will be - what in the record being added to the LeaveApplication would indicate what Plant to look up? - The info must come from the Personeel subarea column in TestEmployees.

@fransk 

Okay...label is good.  Once we get this rolling, you can just hide the DataCard and add a label in the form.

 

So if Plants is going to go away, then you need to change the Lookup definition in your column to reference the new list (I'd just add a new one at this time - and, unless somehow needed, I would abandon the Lookup column in preference for a numeric column that will just hold the ID of the foreign list - MUCH easier to work with).

 

So once we have that...

If you changed the column to numeric, then we just need to store the ID

If you have another Lookup column, then we need to do the same things we tried before, but in relation to the TestEmployee list.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

@RandyHayes 

 

I have decided to abandon the lookup column and replace it wit a straight text column. Thanks for your help.

 

Regards

 

fransk

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,292)