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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Render String Attribute in Task Form Template

hbock
7-Bedrock

Render String Attribute in Task Form Template

Hello,

 

I have a read-only String attribute that holds some comments as text, that is aggregated during operation of tasks within the workflow. Every line is coded with eol (line.separator) at the end.

 

When I display the field in the details view (More Attributes Info Page Layout) or in the edit view (Edit Layout) then the contents is correctly rendered (multiple lines of text)

line 1
line 2
line 3

But when I display the attribute in the Task Form in the Task Variables section (visible, read-only, resettable), then the text is rendered to

line 1<BR>line 2<BR>line 3<BR>

I've tried both the default Task Form Templates for 'Native' and 'JSP' which are documented to render to HTML.

Both have the same behaviour.

 

Where am I wrong? Your help is appreciated!

Harald

0 REPLIES 0
Top Tags