Add a string of text to a Text Field with Formatting field | Community
Skip to main content
MichaelSMN
Level 3
July 11, 2025
Solved

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

  • July 11, 2025
  • 1 reply
  • 414 views

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!

 

           

 

            

                           

                                    

 

 

Best answer by Sven-iX

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 

1 reply

Sven-iX
Community Advisor
Sven-iXCommunity AdvisorAccepted solution
Community Advisor
July 12, 2025

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 

MichaelSMN
Level 3
July 17, 2025

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