Display HTML String from rule into Form window

Which IIQ version are you inquiring about?

Version 8.2

Share all details related to your problem, including any error messages you may have received.

Hi!

We recently migrated from 8.1p2 to 8.2p6.

At the end of our main access request workflow, we were using a Form object to display the result of the request along with the access request ID. We were calculating this in a script, and the result is a HTML string with colors, formatting, etc.

So we just needed to pass that result into the Workflow, and IIQ would automatically treat that string as HTML. The thing is that, since we upgraded to 8.2, IIQ web interface is no longer threating that string as HTML, just as plain text.

What I have done so far:

  1. added STYLES to “htmlSanitizerPolicies” in System Configuration, did not work

I saw in a post that this no longer works because IIQ now uses AngularJS instead of EXTJS, and that’s why it no longer renders HTML from string.

The thing is that a solution to this is not specified anywhere (or at least I could not find it)

Can someone please let me know how to fix this, or at least another way of showing a popup to the user at the end of a workflow with HTML or other formatting options?

Well just found the solution (this affects 8.2p6 onwards but is specified in 8.4 release notes :frowning: )

Add the following attributes code snippet inside of the Field bracket that you want to escape/render in the form:

<Field>
   <Attributes>
      <Map>
         <entry key="contentIsEscaped" value="true"/>
     </Map>
   </Attributes>
.......
......
</Field>
2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.