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

Submit form to update fields in SP list (parent list update)

I have an app for requests that has a header and line items. The header is created on one screen, and the line items are created on another. The header and lines are saved to the respective lists with a status field on the header = Open.

When the user is ready to "submit" the request, they open the request on the review screen (below).

The top section (blue) is a bunch of labels that use SelectedReport.FieldName to read the info for the record, which comes from the parent/header list.

The bottom section contains the lines which are in a gallery (from the lines/child list), but there is also a form there, with data cards. The problem is, I don't know how to utilize them. There is a data card for Date Submitted and for Status, both of which you can see are in the header. For the Submit button, OnSelect = SubmitForm(ViewReportEditForm), which is the form with those two data cards. However, it doesn't seem to do anything (and I get a mysterious error: missing entry or invalid value) but I can't track down the cause. I need the Submit button to change the "Submitted Date" on the header/parent list for that one record to the current date. I also need the Status field on the header/parent list to be changed to "Submitted". I noticed the status card has a Default formula of the below. Note: Status field is data type Choice.

{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: 0,
Value:"Submitted"
}

Ideas?

 

smileamile_1-1600729722561.png

I did notice the fields for that form say they aren't connected to data, but there's a data source?

smileamile_2-1600729818890.png

 

 

1 REPLY 1
RaashiSen
Community Support
Community Support

Hello @smileamile ,

 

I may have to look through this to give an answer to that. Would appreciate your time on this while we research.

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,210)