cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Display Enhanced Rich Text without HTML in Content Control

Jump to solution

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.

Reply
4 Replies
Workflow Hero

Re: Display Enhanced Rich Text without HTML in Content Control

Jump to solution

Hi B Casey

Please have a look at these posts:

Multi Text Field and Update Document Error 

Workflow Update Document Action - Rich Text duplicated 

It has been specified as a bug in one of the versions. What version are you on?

Reply
Workflow Hero

Re: Display Enhanced Rich Text without HTML in Content Control

Jump to solution

We have version 3.1.6.0, 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.

Reply
Workflow Hero

Re: Display Enhanced Rich Text without HTML in Content Control

Jump to solution

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.

Reply
Workflow Hero

Re: Display Enhanced Rich Text without HTML in Content Control

Jump to solution

Have you looked at getting document generation? 

0 Kudos
Reply