Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Add a string of text to a Text Field with Formatting field

Avatar

Level 5

I am newer to creating and supporting various fusion scripts and ran into a challenge and wondering if there is a solution. 

 

Scenario:    I have a CSV file that we are reading with fusion that includes a "problem" text (just a string of text) that we are looking to insert the text into a new "Request Description" field which is a text field with formatting.

 

Issue:  When running a fusion scenario that is creating a record, I receive the following message:   "The following parameter value is invalid....".     From what I found, this appears to be a formatting issue.   

Doing some digging, I found this article that refers to the need for a JSON file to upload into this field, but I feel I am missing something from a fusion standpoint on how to create this:  Rich text fields in the Adobe Workfront API | Adobe Workfront

 

Ideas?    Is there an easy solution to convert this to allow for applying to the new field?  How would I convert a string of text into a JSON file/value and apply the text into the new text with formatting field?  

 

Appreciate any insight that anyone has. Thanks!

 

MichaelSMN_0-1752249492594.png           

 

            MichaelSMN_1-1752249506989.png

                           

                                    MichaelSMN_2-1752249568073.png

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @MichaelSMN 
RTF fields (text with formatting) require a particular JSON format. Look at the Draft.js module. You can't just set the field to a string 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @MichaelSMN 
RTF fields (text with formatting) require a particular JSON format. Look at the Draft.js module. You can't just set the field to a string 

Avatar

Level 5

Thanks Sven. I will take a look there and see what I can come up with.