Problem with a delegated user accessing calendar entries of a renamed user
Bookmark :
Anyone not working with Lotus Notes/Domino can ignore this blog entry. For the rest of you, I've got a problem... (Just one? Ha ha!):
I have a user that moved to a different OU (via AdminP). This user had their calendar managed by someone else. For some reason, the AdminP request "Rename person in calendar entries and profiles in mail file" either didn't happen or never got requested. (The OU change occurred over 30 days ago.)
I was engaged when it was discovered that the Mail file owner field contained the username from the old OU. Once that was resolved, the delegate could make changes most of the meetings, but there are some meetings/calendar entries (around 80 of them) that she cannot change. The delegate has manager access to the user's mail file (don't ask).
I know that I can probably just run a simple agent to change a couple of fields in the docs. The problem is that they are changing the 'Sent by' part of the doc as well. I found an agent that I used for for something else (Found on support.lotus.com - #1087948 Chair cannot make meeting changes after name is changed by AdminP). The problem is that it's changing the 'Sent by' part of the document. Here is the agent code that I used:
Shared - From Action Menu - Run on All docs in view
Lookup := @DbLookup("":"NoCache";"SERVERNAME/ORG":"Names.nsf";"($Users)"; @Name([CN];$Busyname);2);
@If(@IsError(Lookup); ""; @SetField("$BusyName"; @Subset(Lookup;1)));
Lookup := @DbLookup("":"NoCache";"SERVERNAME/ORG":"Names.nsf";"($Users)"; @Name([CN];From);2);
@If(@IsError(Lookup); ""; @SetField("From"; @Subset(Lookup;1)));
Lookup = @DbLookup("":"NoCache";"SERVERNAME/ORG":"Names.nsf";"($Users)"; @Name([CN];Chair);2);
@If(@IsError(Lookup); ""; @SetField("Chair"; @Subset(Lookup;1)));
FIELD Principal :=Chair; SELECT@ALL;
SELECT @All
Does anyone have a clue to what I'm doing wrong? Is there another way I can do this that is more elegant?








Digg/raybilyk
Flickr/ThePridelands
Myspace/raybilyk
Facebook/Ray 'The Lion King' Bilyk
Linkedin/raybilyk
Twitter/TheLionKing
YouTube/TheLionKing
Del.icio.us/raybilyk
Wishlist/Ray 'The Lion King' Bilyk
GMail/Ray 'The Lion King' Bilyk
coComment/TheLionKing
Technorati/thelionking
Blog/Ray 'The Lion King' Bilyk
Comments
Posted by Scott Stewart At 06:11:13 PM On 04/02/2008 | - Website - |
Posted by Ray Bilyk At 07:35:41 PM On 04/02/2008 | - Website - |
FIELD Principal :=Chair; SELECT@ALL;
Posted by Martin At 10:56:16 AM On 04/03/2008 | - Website - |
I have to believe that BinaryTree has a tool or product that handles this completely, but you and I know how difficult it can be getting a tool into a large organization...
By the way, before you submitted the AdminP request, did you check the Admin ACL settings for the user's mail file to see if the "Update all Names fields" option was selected?
Posted by Michael Sobczak At 06:11:57 PM On 04/03/2008 | - Website - |
You know how it is, mess around with it until you can't back out or fix it, then ask for help...
Posted by Ray Bilyk At 11:30:32 AM On 04/04/2008 | - Website - |