This is the formula for the display icon column in the R6 mail template inbox. What I would like to know is if anyone can help me tweak this to include logic that says “If the incoming document is a calendar invite, but the recipient is in CC or BCC instead of TO, change the icon to something different than the normal invite icon”. Is this possible? Our users would like a way to see from the inbox view if they are CC or BCC (attendance optional) on an invite as opposed to being in the TO field (attendance required).
Thanks…
REM {This icon formula is used in ($Inbox) folder, (MailThreads) view, and ($All) view};
CSisPrivate := @If(@IsUnavailable($PublicAccess) & @IsAvailable($CSVersion);“1”;“0”);
isImportant := @If(Importance=“1”;“1”;“0”);
ViewIcon2 := @If(_ViewIcon = 158 & AppointmentType != “1” & BookFreeTime = “1”; 12; _ViewIcon);
tmpIcon := @If(ExpireDate !=“” ;64;displaycopyto_icon = “1”;“sentto.gif”;
@If(DeliveredDate = “”;
@If(PostedDate="" | @IsUnavailable(PostedDate);
@If(@IsAvailable(IsMailStationery);
21;
@IsAvailable(_ViewIcon);
ViewIcon2;
58);
@If(IsImportant="1";
124;
122));
@IsAvailable(_ViewIcon);
ViewIcon2;
$TypeIcon));
REM; “If the Task has no icon, display the invitation icon - backward compatibility”;
varTaskIcon := @If(Form = “Task” & (!@IsAvailable(_ViewIcon) | ViewIcon2 = “”) & (!@IsAvailable(_ViewIcon2) | ViewIcon2 = “”); @False; @True);
iconOne := @If(!varTaskIcon; 133; @If(tmpIcon = “”; 0; tmpIcon));
iconTwo := @If(iconOne=124;0;CSisPrivate=“1”; 164; isImportant=“1”; 150; 0);
iconOne:iconTwo