Hi All
I am trying to work out why my form in sharepoint is loading as NEW mode when viewing, and also editing.
I have 3 forms for each, view, new, edit. I also set a textbox to show what mode is currently running on the forms.
"Form Mode:" & FormView.Mode
This is working well, and shows all forms no matter what mode, are running as 1 - New Mode.
I have ensured on each form individually, the DefaultMode = appropriate FormMode.View, FormMode.New, FormMode.Edit etc.
I have set my SharePointIntegration properties as follows:
OnNew
Set(SharePointFormMode, "CreateForm"); NewForm(FormNew); Navigate(ScreenNew, ScreenTransition.None)
On Edit
Set(SharePointFormMode, "EditForm"); NewForm(FormEdit); Navigate(ScreenEdit, ScreenTransition.None)
On View
Set(SharePointFormMode, "ViewForm"); NewForm(FormView); Navigate(ScreenView, ScreenTransition.None)
No matter what I have done, it still loads in edit every single time. Is there some other setting or code I am missing?
Thanks
BA