Manage Learn to apply best practices and optimize your operations.

Delete current viewing document over the Web

This tip explains to use @Formulas and @Commands instead of LotusScript to delete a current document on the Web.

LotusScript allows us to delete the current document on the Web if you are viewing the document. It generates this error: "You cannot delete the document which you are viewing." So the other possibility is to utilize the help of @Formulas and @Command along with the $$Return field.
Create a form with all the fields necessary. Create a new hotspot on the form with the following formula:

Then place a field on the form and name it $$Return with the following formula:
database :=@ReplaceSubstring
(@Subset(@DbName; -1);"\":" ";"/":"+");
Note: Don't forget to check the option "Generate HTML for all fields" option.

Do you have comments on this tip? Let us know.

Dig Deeper on Lotus Notes Domino Formula Language



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...