Home › Forums › Classic DFFS › SharePoint is loading forms with ajax, DFFs errors
- This topic has 3 replies, 2 voices, and was last updated 8 years, 4 months ago by Alexander Bautz.
-
AuthorPosts
-
-
August 8, 2016 at 13:11 #12713
Hello,
recently i am getting some errors. After a SharePoint Update (not sure which one) the complete Farm is loading via ajax:
Site: http://<site>/_layouts/15/start.aspx#/ => loading List:
List: http://<site>/_layouts/15/start.aspx#/Lists/Tickets/Default.aspx => Loading Item
DispForm: http://<site>/_layouts/15/start.aspx#/Lists/Tickets/DispForm.aspx?ID=2&Source=http%3A%2F%2F<site>%2FLists%2FTickets%2FDefault%2Easpx&ContentTypeId=0x0100743769FCDAA145268D296D93C6D0C5F100C780476354EE7F489F37CC39D64319C7 => going into EditForm
EditForm: http://<site>/_layouts/15/start.aspx#/Lists/Tickets/EditForm.aspx?ID=2&Source=/_layouts/15/start.aspx%3FID=2&ContentTypeId=0x0100743769FCDAA145268D296D93C6D0C5F100C780476354EE7F489F37CC39D64319C7Some errors occure here:
1. the source link is wrong Source=/_layouts/15/start.aspx%3FID=2 which results in a complete site failure (with dffs): http://<site>/_layouts/15/start.aspx?ID=2#/
here the jsLink stuff keept loaded and messes with the list and dffs isnt loading when opening a listitem
2. i cant save the listitem
3. some fields arent loaded and displays “undefined” or nothing at alli checked some of the errors: when i remove the “/_layouts/15/start.aspx#” stuff and use direct links (http://<site>/Lists/Tickets/DispForm.aspx?ID=2) everything works just fine. And i checked the dffs object and fieldData and data is not complete, when running init_fields some of the fields doesnt have a value.
I observed, that the html return of sharepoint is different. When switching via ajax from View to Edit some fields are returned without the “<!– FieldName=”Titel”
FieldInternalName=”Title”
FieldType=”SPFieldText”
–>” stuff.
When switching via direct links that stuff is there.I hope you can help me, the only workaround is, to enable dialog view of listforms, but this is not viable for some customers.
Regards
Eike Ahmels -
August 8, 2016 at 13:37 #12715
Hi,
You need to disable the “Disable Minimal Download Strategy” feature. See this video for details: https://www.youtube.com/watch?v=mPlR9yGjxsgAlexander
-
August 9, 2016 at 07:03 #12741
Hi,
thanks for the fast answer!
That fixed the issue.Any plans on making this feature and dffs working together?
Regards
Eike -
August 9, 2016 at 21:14 #12775
I’m glad you fixed it. I have tried to add support for it, but it has proven a bit tricky as all scripts have to be written in a specific way for them to “survive” the MDS. This means that currently, it will not work.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.