1. In SharePoint 2013, we hide the listformwebpart on the dispform page and use the custom display list form to display the part, because it is easier to customize the display we need;
2. If you find the document in the folder, an error will be reported when you view the attributes, for example:
3. An error is reported, for example, if there is no project:
4. There is no such problem for projects that are not in the folder. I suspect there is a problem with obtaining currentitem, but I did not expect to modify XSLT, for example:
5. Baidu Google searches for a solution and finally finds the definition list template. For details, refer to jianyi's blog, such:
6. The project with ID 3 in the folder is displayed, and no other problems are found:
Summary
I don't know if it is a Sharepoint bug, but Google only found that the user-defined list form was used in a circle, and no similar problems were found. I am using a version without patching. If I patch SP1, it will solve similar problems.
If you want to solve the problem, leave a message. Thank you!
Participation
WSS page customization series (2) --- customizing the form pages of a single list
SharePoint 2013 bug about custom display list forms