Delete Document and Move to Other Page Using JavaScript

Do you want to delete document and move to other page in Web? This is very simple way without any Notes script and special form (in other words,$$ReturnDocumentDeleted). Just use Javascript.

There is "Delete" button. When user click this button, just call Javascript function "Delete()" and the "Delete()" function is like this:

function Delete(){
var thisunid = ' ';
var parentunid = ' ';

You know I use "computed value", so write the Javascript function within body of form (not within "JS Header"). This example removes current document and moves to its parent document. So the formula for variable 'thisunid'is
"@Text(@DocumentUniqueID)" and that for variable 'parentunid' is

Dig Deeper on Domino Resources - Part 3

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • 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 ...