Solved

Add and remove workspace icon simultaneously in a button

Posted on 2003-10-23
2
829 Views
Last Modified: 2013-12-18
how to create a button in a mail that adds a database icon and simultaneously removes some icons on the workspace?
0
Comment
Question by:thermoclines
2 Comments
 
LVL 15

Accepted Solution

by:
Bozzie4 earned 25 total points
ID: 9606116
To add a database icon, it's enough to send a database link.
When clicked, this will open the database too, that may not be the desired effect.

To add a database without opening, use

@Command( [AddDatabase] ; server : database ; bookmark )
bookmark is "1" or "0", if you want to open the bookmark dialog or not.

Use
@Command( [FileDatabaseRemove] )

to remove an icon (the current selected icon)

So an action to remove the database certlog.nsf on server Notes/Org, would be:
@Command( [WindowWorkspace] ) ;
@Command( [adddatabase]; "Notes/Org" : "certlog.nsf" );
@Command([FileDatabaseRemove])

Do adddatabase first, to be sure the icon is there or is selected, before removing it.

cheers,

Tom
0
 
LVL 31

Assisted Solution

by:qwaletee
qwaletee earned 25 total points
ID: 9611018
Just one caveat: When you use [FileDatabaseRemove], the user will get prompted to remove.

A techniqe I've sometimes used is to do a switch replica first to a non-replicating, empty replica of the atabase, that has a title "Delete me."  Then I can do the [FileDatabaseRemove].  Even if the user clicks NO, al he will have left is an icon that says Delete me!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Lotus notes email code 2 185
Lotus notes VB code 4 200
lotus domino server console error 1 71
ESXCLI upgrade command 1 19
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now