Forum Discussion
Gurdev Singh
Jun 07, 2018Iron Contributor
SharePoint Modern Interface List Item Opens on a separate page i.e. DispForm.aspx
We are puzzled by a list that has modern interface enabled. When clicking on title link for an item in the list, user is taken to new page i.e. to dispform.aspx rather than showing the item on a blade (or pane on right side).
Anyone know why this might be.
Gurdev's colleague here. We figured out why. It was because the list has a calculated field. When there is a calculated field, SharePoint Online automatically switches to the classic experience for the Display Form and as a result, clicking on a list item takes you to the classic Display Form instead of opening the form on the right-hand panel using the new modern experience.
- Vuong Le PhongCopper Contributor
Gurdev's colleague here. We figured out why. It was because the list has a calculated field. When there is a calculated field, SharePoint Online automatically switches to the classic experience for the Display Form and as a result, clicking on a list item takes you to the classic Display Form instead of opening the form on the right-hand panel using the new modern experience.
- Abhimanyu SinghSteel Contributor
You're right Vuong Le Phong. Calculated columns cause the display form to go classic. We have been facing the same problem.
Pinging danholme to see if someone on the modern engineering team could fix these quirks.
- Vuong Le PhongCopper ContributorI have a work around for it until it will be fixed by Microsoft. Just make the calculated fields hidden (I used PnP powershell to hide the fields). The fields still display in list views but not in the display form. An interesting thing to note is that everything is fine with the edit form. This bug should be easily fixed by Microsoft.
- Do you have any customization in the list? What kind of list do you have?
- Gurdev SinghIron Contributor
Nope...No customization in the list. It's a custom list with quite a few fields and around 5 content types.
Furthermore, when we edit the item it goes back to modern edit form. Thus the flow is "User clicks on list item title --> Redirected to classic DispForm.aspx rather than opening the item in blade --> Click Edit item on ribbon --> Goes back to modern edit form.