SharePoint Document Issues

How to Format SharePoint JSON to Show More Multiline Text

Olivia MillerOlivia Miller Oct 13, 2026 869 views

Question details

The user wants to display full multiline text in a SharePoint list using JSON column formatting without losing the ability to view the complete content.

How to Format SharePoint JSON to Show More Multiline Text
Product
SharePoint
Device & OS
not provided
Scenario
Customizing a SharePoint list column to handle long, multiline text where the default 'Show More' link behavior gets overridden or breaks due to custom JSON formatting.
Observed behavior
When custom JSON formatting is applied to a multiline text column, the built-in 'Show More' form behavior fails to respond, leaving the text permanently truncated in the list view.
Before you start

Before modifying your SharePoint list, ensure you have the appropriate site permissions to edit column formatting and save a copy of your existing JSON code in a text editor as a backup.

Solution 1Recommended

Display the Full Text Using the @currentField Parameter

Replace the truncated substring expression with the @currentField parameter to natively display the complete multiline value.

By modifying the JSON to display the full field value rather than a truncated string, you bypass the need for a 'Show More' button entirely. Keep in mind that this approach will automatically increase the row height in your list view to accommodate the text.

1
Open Column Settings

Navigate to your SharePoint list, click the column header for your multiline text field, and select 'Column settings' followed by 'Format this column'.

2
Enter Advanced Mode

At the bottom of the formatting pane on the right side of the screen, click on 'Advanced mode' to view the raw JSON code.

3
Update the txtContent Property

Locate the 'txtContent' property in your JSON schema. Replace the existing substring expression with '"txtContent": "@currentField"'.

4
Save Changes

Click the 'Save' button at the bottom of the pane to apply the formatting. Your list will refresh, and the full text will now be visible.

Display the Full Text Using the @currentField Parameter
Row Height Impact: Using @currentField displays the entire text string at once, which can significantly increase the row height of your SharePoint list items depending on the length of the text.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

While SharePoint handles complex list structures and JSON column formatting, you still need a robust, lightweight desktop suite for your everyday document creation and editing. WPS Office provides an excellent, free alternative to Microsoft Office, offering everything you need to manage your files efficiently.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free office suite on your device.
  2. 2. Open Your Documents: Launch WPS Office and click 'Open' to access your downloaded SharePoint documents.
  3. 3. Edit with Full Compatibility: Start editing your Word, Excel, or PowerPoint files instantly with complete formatting retention.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx) downloaded from SharePointFree and lightweight suite available for PC, Mac, and mobile devicesFamiliar user interface with zero learning curve for immediate productivityBuilt-in PDF editing, document conversion, and advanced sharing tools
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't the built-in 'Show More' link work with my custom JSON in SharePoint?

The default 'Show More' functionality is tightly integrated with SharePoint's out-of-the-box field rendering. When you apply custom JSON column formatting, it overrides the default DOM structure, preventing the native link script from executing correctly.

Can I enable the 'Show More' button just by changing the txtContent property?

No, altering the txtContent property alone cannot enable the built-in 'Show More' link. You must either rely on custom hover cards to show full text or revert to the default list view without custom JSON formatting.

Where can I get advanced help for complex SharePoint JSON formatting?

For highly customized JSON list configurations, the best place to seek help is Microsoft Q&A. You can post your specific JSON code and list setup using the 'SharePoint Development' tag for expert assistance from Microsoft engineers and community members.