Skip to main content
Nintex Community Menu Bar
Solved

Display a pop-up on a HTML formatted Apex Return call


Forum|alt.badge.img+3

I want a pop-up to display a preformatted return call from Apex. It works well in Salesforce Flow, but I need it to display in Skuid. I’m using V2 - Chicago. I tried using a Toast Message and Block US using the Merge Variable: {{$PreviousAction.result.output}}. It returns the HTML

image

Here is what I want it to look like in Skuid:

Best answer by Rob_Hatch

Ooh. This is really cool.

Unfortunately the only components that will process HTLM returned from the database today are our Form and List Fields. So - here is how to accomplish what you are after.

Create a UI only field that gets populated with the results of the Merge Variable: {{$PreviousAction.result.output}}. Specify that the field is a Text Area and is Rich Text enabled.

Your response should be shown in a Modal. In that modal add a “List” component that has the new UI only field as its only field.

It should render the processed HTML in the popup.

View original
Translate
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • Answer
  • July 12, 2024

Ooh. This is really cool.

Unfortunately the only components that will process HTLM returned from the database today are our Form and List Fields. So - here is how to accomplish what you are after.

Create a UI only field that gets populated with the results of the Merge Variable: {{$PreviousAction.result.output}}. Specify that the field is a Text Area and is Rich Text enabled.

Your response should be shown in a Modal. In that modal add a “List” component that has the new UI only field as its only field.

It should render the processed HTML in the popup.

Translate

Forum|alt.badge.img+3
  • Author
  • 10 replies
  • July 12, 2024

Very grateful for your solution. I was close. I did have a UI field, but I was using a Text component. I tried a List component, but I didn’t set the UI field in my Actions.

Again, Thanks for your help.

Translate

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • 867 replies
  • July 12, 2024

@soakes I’m glad Rob’s solution worked for you!

Another good thing trick when using merge syntax is to try using the three brackets {{{Value}}} instead of two. This will give you the raw value of the field (which can make a difference if there’s HTML or special formatting involved).

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings