Giter Site home page Giter Site logo

Comments (15)

sympmarc avatar sympmarc commented on August 22, 2024 3

Say it ain't so, @thechriskent! I was sure you'd have some magic dust to sprinkle on this one.

from list-formatting.

aaclage avatar aaclage commented on August 22, 2024 2

no workaround yet.

from list-formatting.

aprildunnam avatar aprildunnam commented on August 22, 2024

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.

bestjeffever avatar bestjeffever commented on August 22, 2024

Any luck?

from list-formatting.

thechriskent avatar thechriskent commented on August 22, 2024

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.

harshdamaniahd avatar harshdamaniahd commented on August 22, 2024

Hope we get something for this

from list-formatting.

rodchenkov avatar rodchenkov commented on August 22, 2024

Can we please reopen this ticket?

from list-formatting.

thechriskent avatar thechriskent commented on August 22, 2024

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.

tomresing avatar tomresing commented on August 22, 2024

This suggestion seems related and has almost 150 votes: https://feedbackportal.microsoft.com/feedback/idea/fff8f364-de1c-ec11-b6e7-0022481f8914

from list-formatting.

aaclage avatar aaclage commented on August 22, 2024

@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.

gretchunkim avatar gretchunkim commented on August 22, 2024

Do we have solution or workaround for this issue?

from list-formatting.

j-te avatar j-te commented on August 22, 2024

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.

gormster avatar gormster commented on August 22, 2024

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.

tomresing avatar tomresing commented on August 22, 2024

@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.

stuffi3000 avatar stuffi3000 commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.