I am using a WF to create a Word document (using a word template that has content controls) to print a form from a SharePoint list that includes the user responses when filling out the form. Everything works well except any multi-line text fields (with enhanced rich text). These all display the html along with the text in the content control and make it unreadable for most.
Does anyone know a way to strip the HTML from the text before displaying?
I've been experimenting with inline functions in Nintex like 'XmlDecode', but no luck so far.
Solved! Go to Solution.
Hi B Casey
Please have a look at these posts:
It has been specified as a bug in one of the versions. What version are you on?
We have version 18.104.22.168, so not the same version as the one reporting a bug, however, I'm seeing the same behavior in this version.
It does not duplicate anything for me, but does display all the html tags around and mixed in the rich text content that is sent to the Word doc content controls.
I have a partial solution.
I used a Query List Action to send the enhanced rich text field contents to a variable.
Then, just don't check the 'include html' box on the action settings.
This keeps some of the formatting, but removes the html. It doesn't help with tables that are pasted into the field, but better than nothing.