
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?
I did notice the fields for that form say they aren't connected to data, but there's a data source?
Hello @Anonymous ,
I may have to look through this to give an answer to that. Would appreciate your time on this while we research.