Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleFormat the Creation Date in the MMM d yyyy format (Jan 3, 1978)
collapsetrue
%{var months =  new Array( 'Jan' ,  'Feb' ,  'Mar' ,  'Apr' ,  'May' ,  'Jun' ,  'Jul' ,  'Aug' ,  'Sep' ,  'Oct' ,  'Nov' ,  'Dec' ); 
var dateParts
 = '${dateformat("d“d-MMMMM-yyyy HH:mm:ss”):ssCreated}'.split( '-' ); var month = dateParts[ 1 ]; 
var yearday = dateParts[ 0 ] ; var dayyear = dateParts[ 2 ].split( ' ' )[ 0 ];
 months[Number(month) -  1 ] +  ' ' + day +  ', ' + year;}
Code Block
titleExport the content if the field is not empty; otherwise, display other text
collapsetrue
%{( '${Focus}' .length >  0 ) ?  'Focus: ${Focus}' :  'Focus not Available' }