Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
powerplay

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #1 
Hi,

Need help on displaying the BOLD  text in Subject of ToDo List.. Also using NewLine(<br>) to display subject details in multiple line..

Please suggest the code.


Thanks!

__________________
Thanks
HB
0
powerplay

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #2 
StringBuilder b = new StringBuilder();
 
//For Bold Text
b.Append(@"<b>");
b.Append("Hello");
b.Append(@"</b>");
 
//For New Line
b.Append(@"<br>");
b.Append("Brother");
 
//Set Subject
ProcessContext.FolderSubject = b.ToString();
b = null;

__________________
Thanks
HB
0
BMellert

Guru
Registered:
Posts: 688
Reply with quote  #3 
Powerplay's approach is for V9 (since its using ProcessContext.FolderSubject).  For grins I tried a direct database update as a quick test (without using b.Append; e.g. '<b>Hello</b><br>Brother').  It worked.  Cool to know, though not sure why I'd use that but its good to have the option.

I also tried the same approach in V7 (since this was posted in the legacy/V7 Designer forum).  It does not seem to work there.  I'm not sure its possible in V7.
0
powerplay

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #4 
Hi Mellert,
Can direct database update lead to folder lock situation..?

Thanks!!

__________________
Thanks
HB
0
BMellert

Guru
Registered:
Posts: 688
Reply with quote  #5 
Like anything, do any direct database updates with caution and only on a limited basis.  I have done them on occasion as needed.

I did it in development just to test it and the update was immediately committed so a lock was not held.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!