Quantcast
Channel: Ivanti User Community: Message List
Viewing all articles
Browse latest Browse all 12704

Re: Clearing values on attribute after using a dynamic window calculation to set read only

$
0
0

Created a separate HTML Description field setting it to HTML Sub data type and applied the following calculation to this field.  This is the only attribute on the window:

import System

static def GetAttributeValue(Article):

  Value = String.Format("<table style='width: 100%'><tr><td><font face='Calibri' size='6' color='#2E5F88'><strong>{0}</strong></font></td></tr><tr><td><font face='Calibri' size='3' color='#808080'>{1} - Created By: {2}</font></td></tr><tr><td><font face='Calibri' size='5' color='#2E5F88'>Details:</font></td></tr><tr><td><font face='Calibri' size='4' color='#000000'>{3}</font></td></tr><tr><td><font face='Calibri' size='5' color='#2E5F88'>Solution:</Font></td></tr><tr><td><font face='Calibri' size='4' color='#000000'>{4}</font></td></tr></table>",Article.Title,Article.Type.Name,Article.CreationUser.Title,Article._Description,Article.HtmlDisplay)

  return Value


Viewing all articles
Browse latest Browse all 12704

Trending Articles