I've created an app from a sharepoint list. It has 3 screens. A view of the entire sharepoint list, a view of the details of a single item, and an edit/add new item screen of the in the list. Last week, all of the screens were working correctly. The edit/new screen either displayed defaults for some of the drop down boxes if it was adding a new item or it would diplay the previous choices that had been made if you were editing a previously added item. I was out a few days this week, and now the edit/new screen reverts all previously selected drop downs to their defaults. I'm pretty sure i need to add similar code to this:
Refresh('YourSPList');
Set(SharePointFormMode, "ShowForm");
ViewForm(ViewForm);
Navigate(ViewFormScreen, ScreenTransition.None)I'm not sure where to add this code. I'm sure it needs to be added to the OnView property but i can't seem to find where to add that.