cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

How to put pre-formatted text into a RichtTextField?

JensN.
14-Alexandrite

How to put pre-formatted text into a RichtTextField?

Hi @all,

we want to prefill RichTextFields with formatted text. We want to do this in different ways:

1. by an Assignment-Trigger: When a certain rule is fullfilled a trigger should write some text into this field. In the trigger-config at the "assignment"-Tab we can do this, but we have no chance to format this text in any way.

2. by API or CLI. Since RichText in integrity seems to be a subset of HTML we tried to use some HTML-Tags in an editfield-command, but this doesnt work too.

Thanks,

kind regards, Jens

2 REPLIES 2
tdalon
12-Amethyst
(To:JensN.)

Hi Jens

for 2. which syntax are you using?

see CLI Docu on im editissue:

--richContentField=value

specifies a rich content field and its value for the new issue, where value is of the form "richcontentfieldname=fieldValue".

Note: In the korn shell command line interface, HTML tags must be surrounded by quotes, for example, "<b>Feature

Overview</b>".

In the Windows command line interface (cmd.exe), the ^ escape character must precede the < and > characters in HTML tags, for example, ^<b^>Feature Overview^</b^> .

JensN.
14-Alexandrite
(To:tdalon)

Hi Thierry,

thanks, i didnt knew this kind of escaping, i will try this...

kind regards, Jens

Announcements


Top Tags