I am trying to return the string value from a rich text field in Dynamics 365 using a javascript function. This does not work the normal way since the field is formatted to rich text and instead returns a very long text.
How do I extract just the string value from the user input?
I tried the normalvar str = formContext.getAttribute("description"); which returns a long text to my string variable. Since it is rich text it cannot be sliced and diced and instead needs to be converted somehow I guess