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
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.
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.
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).