Comments (15)
Say it ain't so, @thechriskent! I was sure you'd have some magic dust to sprinkle on this one.
from list-formatting.
no workaround yet.
from list-formatting.
I'm struggling with the same issue. Can't seem to find out how to strip out the HTML and just show the formatted text.
from list-formatting.
Any luck?
from list-formatting.
Unfortunately, there is no way to do this currently. The value of enhanced/rich multiline text fields are returned from SharePoint as strings (not as HTML elements). The string values include all the HTML with the text content embedded within. There are no alternative values that just contain the text.
There is no support for accessing a DOMParser to turn this from a string into HTML elements within column formatting. Even then, you would need to traverse the result and retrieve the text values (strip out the HTML) by using operations that are not available within column formatting.
This has far more to do with how SharePoint stores and returns values for these types of fields than any real limitation with column formatting. For this kind of advanced processing, a SharePoint Framework Field Customizer would be the right solution.
from list-formatting.
Hope we get something for this
from list-formatting.
Can we please reopen this ticket?
from list-formatting.
This is a question regarding out of the box list formatting. This issues list is for issues pertaining to the samples in this repository.
If you would like Microsoft to implement something to address this limitation please create a suggestion on SharePoint Development User Voice. Reopening this issue will have no impact on how things work. Thanks!
from list-formatting.
This suggestion seems related and has almost 150 votes: https://feedbackportal.microsoft.com/feedback/idea/fff8f364-de1c-ec11-b6e7-0022481f8914
from list-formatting.
@tomresing if you don't mind, replicate this request in feedback for Microsoft Lists.
https://feedbackportal.microsoft.com/feedback/idea/445d79c1-6906-ed11-a81b-6045bd864d4f
from list-formatting.
Do we have solution or workaround for this issue?
from list-formatting.
My case was trying to re-use the Description field in a Document Library (for videos). The Description field for the built-in video viewer actually uses an internal field called _ExtendedDescription
.
I found that you can edit the Description
field records (_ExtendedDescription
) via Edit in grid view
where this doesn't apply DOM elements or styling (wahoo). An alternative is PowerApps form. Doing it one of these ways display well in formatted views and the native video viewer. IE "txtContent": "[$_ExtendedDescription]"
: no DOM elements or formatting issue.
from list-formatting.
This suggestion seems related and has almost 150 votes: https://feedbackportal.microsoft.com/feedback/idea/fff8f364-de1c-ec11-b6e7-0022481f8914
Has this issue been deleted? Both this and the Lists one 404 for me.
from list-formatting.
@gormster I can't reach either, though I think the Lists link was meant to link to the Lists area of the portal.
from list-formatting.
Any progress on this?
I would like to use the JSON to keep the rich text editor from putting everything in Calibri 11 instead of Segoe UI 11...
Another "annoyance" from Sharepoint Lists...
from list-formatting.
Related Issues (20)
- Sample - yesno-icon-color not working as intended HOT 5
- I have a question about honeycomb-link when used with an embedded webpart HOT 2
- I have a question about formatting a column that contains a JSON string HOT 2
- I have a question about JSON code in lists HOT 2
- Generic Gantt chart - Date field cannot be edited HOT 6
- Birthday Sample, does not populate birthday. HOT 5
- No longer works as it used to: form-samples/wrapped-body HOT 2
- Gallery View: Scaling of SVG files HOT 1
- honeycomb SAMPLE has made me sad, please help HOT 6
- Changes made by GENERIC-UPDATE-BUTTON are not immediately visible to other users HOT 2
- group-header-remove-column-name-clickable has made me sad, please help HOT 5
- Links do not open in Microsoft Lists App in some samples HOT 7
- I have a question about Praise Cards HOT 3
- Remove 'Editing' Worry From 'Custom Charts' - view-samples/custom-charts HOT 1
- group-header-remove-column-name has made me sad, please help HOT 4
- text-qrcode question/help HOT 5
- View Formatting - Group - GroupProps To Trigger Expand / Contract Without Malforming Header HOT 5
- Birthday Sample List formatting not working with @now HOT 1
- [SUGGESTION] Color Picker Potential HOT 5
- Colorful Honeycomb Links HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from list-formatting.