Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

bold

Avatar

Former Community Member
Can I bold some of the text in a workitem.instructions such as the following?



WorkItem.instructions = "BATCH: Please create batch for client/matter:" + WorkItem.getFieldValue("clname1") + "/" + WorkItem.getFieldValue("mdesc1") + ", run conflict search in Elite, then click Submit to continue process. (" + WorkItem.getFieldValue("mnum") + ")";



I would like to bold the clname1 and mdesc1 and mnum variables. Is this possible?



Thanks
5 Replies

Avatar

Former Community Member
I was not able to insert < br > so it line breaks, you can try adding < b > and < /b > from HTML tag for bold but that might not work...

Avatar

Former Community Member
I have tried - this unfortunately is not possible since a style sheet is applied to the entire string.

Avatar

Former Community Member
Have you tried changing the stylesheet to remove these?

text-transform: none;

text-decoration: none

Avatar

Former Community Member
I got it to work by changing formatsqlcolumn.inc to not call the HTMLEncode (which will translate your HTML tags into literal values)



You can then use the standard HTML tags to bold, do separate lines.

I have to see if I can change number type to restrict to just the Instruction column.

Avatar

Former Community Member
Use this so null is written out as blank.



case 22:

// default

//return HTMLEncode( fields(index).Value );

if (fields(index).Value == null)

return "";

return fields(index).Value;



However the instructions field in the email will contain those HTML tags!!



Instructions:

< B >[$ 1234]< /B >< BR >[test]