Heads up regarding breaking change for Classic DFFS on Microsoft 365

Some users have reported that Microsoft is replacing the default Modern List view in SharePoint on Microsoft 365 (SharePoint online) with Microsoft Lists.

I haven’t seen this yet on my SharePoint online developer site, but it is being rolled out and should be completed by the end of September.

Microsoft Lists has a similar look to the Modern List view, but it causes the Classic DFFS to fail to load because Microsoft no longer takes into account the established method of using ContentType.NewFormUrl, ContentType.DisplayFormUrl and ContentType.EditFormUrl property to change the default forms for the list.

If you experience this issue in your site you can fix it by going to Site settings and under Look and feel select Navigation elements and under Lists in Sites toggle Show header and navigation on.

You can read more details and find a PowerShell cmdlet to set the ListsShowHeaderAndNavigation property here: https://m365admin.handsontek.net/microsoft-lists-user-experience-update/

Let me know if you have any questions or comments in the comment section below.

Alexander

3 thoughts on “Heads up regarding breaking change for Classic DFFS on Microsoft 365”

  1. Hi Alexander,

    looks like another change from February 2024 in SP Lists GUI. Some users receiving new Lists view in sharepoint and default double click is changed to editform instead of dispform. New item button opens new MS Lists forms instead of DFFS.

    Do you have some info about changes ?

    Thanks
    Martin Čuchran

  2. Hi,
    I just got this new layout in my testsite and have noticed that the default click (on Title or using a column formatter with “defaultClick” customRowAction) now opens EditForm.

    I haven’t had time to register a support ticket with Microsoft yet, but really hope they bring back support for actually viewing an item using the “click on title” or at least bring back the “Open” item on the context menu.

    I created a new list to test, and at first the New item button did open the default form, but when I uninstalled and reinstalled DFFS on the form (using the DFFS installer), it properly opens DFFS when clicking the new item button.

    As a workaround form the missing “Open in DispForm” functionality you can create a calculated column in the list with the formula

    ="View item"
    

    And use this in the “Column formatting” section:

    {
        "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
        "elmType": "div",
        "children": [
            {
                "elmType": "span",
                "attributes": {
                    "iconName": "View"
                }
            },
            {
                "elmType": "a",
                "txtContent": "@currentField",
                "attributes": {
                    "target": "_blank",
                    "href": {
                        "operator": "+",
                        "operands": [
                            "@currentWeb",
                            "/Lists/LIST_URL_NAME/DispForm.aspx?ID=",
                            "[$ID]"
                        ]
                    }
                },
                "style": {
                    "text-decoration": "none",
                    "padding": "10px 10px 10px 5px",
                    "color": "#000000"
                }
            }
        ]
    }
    

    You must change “LIST_URL_NAME” to match the URL name of your list.

    Alexander

  3. Hi Alexander,

    My ticket on MS premier support is opened for 2 weeks now. They are collecting logs, but from last call i have information, that this is new look (design) which is rolling out. They now know about issues with links and buttons but i did not receive any notes how to resolve problems yet. Quick edit button does not respect configuration of list as well and is available for users.

    Martin

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.