A SharePoint Online Web Part that contains custom XSLT code doesn't display, or you receive an error message
In Microsoft SharePoint Online, you import custom XSLT code into an out-of-the-box Web Part and then configure the Web Part to run the XSLT code. When you try to display the Web Part, you receive the following error message:
Additionally, a member of the DataFormWebPart class may intermittently not display.
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
To work around this issue, take one or more of the following actions in Microsoft SharePoint Designer 2013 to decrease the probability that the Web Part will reach the throttling limit:
- Reduce the size of the code by replacing the following existing value with the following new value:
Existing value New value ddwrt:EscapeDelims(string(@ID)) @ID
- Remove all <SharePoint:FieldDescription> strings.
- For an edit form page, break the XSL template for <xsl:template name="dvt_1.rowedit"> into multiple XSL templates by dividing the table rows into multiple XSL templates. You can do this by using SharePoint Designer 2013 to edit and add the strings.
This issue occurs when the XSLT code is throttled by SharePoint Online. In order to maintain optimal performance and reliability of the SharePoint Online service, throttling limits can be exceeded for custom XSLT execution if one or both of the following conditions are true:
- The custom XSLT causes a stack overflow.
- The XSLT execution time exceeds one second.
Still need help? Go to the Office 365 Community website.
Article ID: 3105629 - Last Review: 11/05/2015 18:15:00 - Revision: 2.0
Microsoft SharePoint Online
- o365 o365e o365p o365a o365m o365022013 KB3105629