Calendar view in the mail template : how to add an icon visible only when the selected appointment was created by the mail owner?

Hi,

Being Lotus Notes Designer, I implemented in the mail template of our Notes users a new owner action in the Calendar view(s), allowing them to publish appointments from their individual calendars to a collective calendar.

It works fines:

  • the “publication” to the collective calendar works

  • I can hide the action button “Publish” in the calendar view(s) when the user is not the owner of the selected appointment

My problem: I added in the calendar view an icon who should only be visible for “publishable” selected Appointments : those related to the mail owner of the database.

I tried thus to implement the same test for this icon as I did for the “Publish…” action button, based on a hide when

@LowerCase(@Name([CN]; Chair)) != @LowerCase(@Name([CN]; @GetViewInfo([ViewOwner]))

but it doesn’t work.

It seems that this function doesnt’ work in a view column.

Does anybody know a workaround for this and know how to display a icon visible only for the mail owner of the selected document?

Thank you by advance for your help…

Philippe Pierlot,

Lotus Domino Administrator and Designer

Belgium