?
Solved

Remove Icons from Notes R4.6x Workspace with LotusScript

Posted on 1999-12-03
4
Medium Priority
?
499 Views
Last Modified: 2013-12-18
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.
0
Comment
Question by:JRiley
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
ghassan99 earned 300 total points
ID: 2254680
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
 

Author Comment

by:JRiley
ID: 2255284
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
 
LVL 6

Expert Comment

by:ghassan99
ID: 2255701
yes I would assume.  Thats very clever!
0
 

Author Comment

by:JRiley
ID: 2255887
Hopefully.  I'll provide code and examples to anyone if it works.  Stay tuned.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question