cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MartinCoton
Regular Visitor

Custom newform.aspx not saving data back to List

Hi folks,

 

I've been around the forum looking for a simple answer to this one. There lots of ideas but none of them have worked despite looking identical to my problem.

 

We have customised the newform to include two look up lists. One defines the values available in the other.

In this case:

a "Buildings" look up to a building List

a "Rooms" Lookup to a Rooms List which is linked to the building List to create a relationship, facilitating the ability to show a Filtered set list of rooms based on the building.

This works. No issues there.

 

However when saving the data only the Building is updated to the List, the Room is empty.

 

Details.

The Building card is "building_DataCard1"

The building drop down is called "buildingValue"

Update for building_DataCard1 is currently set to "buildingValue.Selected"

The room card is "room_DataCard1"

The room dropdown is called "roomValue" (the filtered set a values)

Update for room_DataCard1 is currently set to "roomValue.Selected"

 

Filtering is achieved using this for Items in the roomValue dropdown:

Filter(rooms, roombuilding.Value = buildingValue.Selected.Value).Title

 

Given that the Update functions are the same, but only the building is submitted, where is the value from the selected Room going?

 

Have tried:

Using a Collection in App->OnStart in place of a direct lookup, it didn't make any difference.

Tried to use this but it threw errors - https://powerusers.microsoft.com/t5/Building-Power-Apps/Save-Filtered-Lookup-Value-in-List-Custom-Fo...
And changing the room_DataCard1 Update to be {value:roomValue.Selected.Title} < "Title" is the column with the room numbers
Any suggestions or help gratefully received, I have been scratching my head over this for two weeks (on and off).

0 REPLIES 0

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,815)