Remove Icons from Notes R4.6x Workspace with LotusScript

I'm deploying a Notes R4.6.4 mail enabled, mail-in database with notifications sent to users.  This mail notification contains a doclink to an IT database containing a WinZip self-extracting archive, with a LotusScript button that sends mail back to the IT manager to track user compliance and provide audit trail for a user community of about 100.

I don't want the icon for the database to appear on their workspaces, and there appears to be no UI or backend method to remove it from the workspace.

One high level management user has already noticed the icon, and wanted to know what it was and why she couldn't see any of the secured views, etc.  Our goal is to keep users out of this database, click the doclink that auto-launches the attachment, and then click the LotusScript button to end the download process.  The LotusScript buttons sends mail back to a secured view in the database.

I need to add code that removes the icon from the db, and according to article #164664 in the 9/99 Notes KB, this can't be done.  I can't find any method belonging to the NotesUIWorkspace class to accomplish this.
JRileyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ghassan99Commented:
There is no other way to do this except in @functions.  Like this:
@PostedCommand([FileCloseWindow]);
@PostedCommand([FileCloseWindow]);
@PostedCommand([WindowWorkspace]);
@PostedCommand( [AddDatabase] ;"db_name.nsf" );
@PostedCommand([EditClear]) or @PostedCommand([FileDatabaseRemove])

There was a similar question on this, and the above was my answer.  If you want to pay 15points, here it is:
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=10176786 
Its worth it.
If the database is not opened then u probably wont need the first close window functions.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JRileyAuthor Commented:
The formula language in my scenario works if a run the formula using the GetAgent method; however, it raises the error "Delete selected icon(s) from your workspace?", which I don't want users to see.  This message appears because I closed the database using "Call uidoc.Close" prior to calling the agent.  I have a script library that I got from anothe developer that mimics the VB SendKeys functions in LotusScript (SendKeys is not supported in Notes R4.x).  If I paste this library into the database, I can use a SendKeys equivalent to accept the OK prompt to the user doesn't see the message.  I will post results of my testing after I get it to work.
0
ghassan99Commented:
yes I would assume.  Thats very clever!
0
JRileyAuthor Commented:
Hopefully.  I'll provide code and examples to anyone if it works.  Stay tuned.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.