What I am trying to do is open up a particular page based off where a user’s mailbox is. I put code in the frame’s content and under Formula for name of frame content I put in the code below. It is always choosing the default which is Pepper Database Index PCCBAR no matter where the user’s mailbox is. If someone know what i am doing wrong I would greatly appreciate it.
Thanks in advance,
John
ms = @Name([CN];@Subset(@MailDbName;1));
dept = @Name([OU1];@UserName);
@If(dept = “IS Dept”;“Pepper Database Index IT”;ms = “PCCCHI”; “Pepper Database Index PCCCHI”; ms = “PCCTIN”; “Pepper Database Index PCCTIN”; ms = “PCCINDY”; “Pepper Database Index PCCINDY”; “Pepper Database Index PCCBAR”)