Aug 11 2020 01:06 PM
I've used the Customize Forms from a SharePoint list to create PowerApps NewForm, ViewForm and EditForm. I've added a "SAVE" button on both the NewForm and EditForm to make it easier for users to save (they could use the "Save All" from SharePoint, but it's not as easy to see. I've done this same setup on another SharePoint list, and that list is working great, but this new list "Customer Requested Documents and Surveys" is not saving ONLY on the NewForm. Neither "SAVE" button OR the SharePoint "Save" is working - clicking the "SAVE" buttons I've added acts like it is saving, but no new items are being added to the SharePoint list. Clicking the SharePoint "Save" doesn't do anything. Again, the "SAVE" buttons work on the EditForm just fine, and those buttons are configured the same way on the NewForm but it doesn't work on that form.
See config screenshots attached - there is nothing I can see that would cause this to not work. It's pretty straight forward, but I'm stumped.
Aug 11 2020 10:49 PM - edited Aug 11 2020 10:51 PM
My gut feeling here thinks you have some kind of error happening. Have you customized and defaults on form fields or update properties on any cards?
Usually if edit is working and new isn’t. It’s because you might be referencing a ThisItem.ID and on a new form you don’t have that ID yet because the Item doesn’t exist in SP and doesn’t have an ID till it’s submitted. You have to work around it differently if that is the case here?
Aug 12 2020 12:31 PM
@ChrisWebbTech - this sounded possible, but in checking all of the datacards added to the NewForm, none have "ThisItem.ID" - each reference "ThisItem" and their respective fields. The DueDate datacard was customized so that the default date is Today()+14 - see attached screenshots
Aug 12 2020 12:44 PM
Aug 12 2020 05:44 PM
@ChrisWebbTech - I feel really silly, but I found the problem: there was simply a required field that was on the view and edit forms that was NOT on the new form. (facepalm)
Sorry to waste your time on this one, but thank you!
Aug 12 2020 05:46 PM