Go Back To The Same Document After Submitting It To The Domino-Server

From a Notes point of view, we stay in the same document after we save the
document. From a browser, we see the "Form processed" message. With use of the
$$Return field and the unique document number, it is easy to go back and
continue to read or edit the same document.
If you need an agent to run, you can create a shared background agent and use
the WebQueryOpen or WebQuerySave form events to point at it.
Content of the $$Return field:

Server := @if(@Name([CN];@subset(@DbName;1)) = "";
"localhost";
@Name([CN];@subset(@DbName;1)));
Database :=@subset(@dbName;-1);
"[http://" + Server + "/" + Database + "/0/" + @Text(@DocumentUniqueID) +
"?editDocument]"

If you would get the document result for display rather then for editing
purpose, use the formula:
Server := @if(@Name([CN];@subset(@DbName;1)) = "";
"localhost";
@Name([CN];@subset(@DbName;1)));
Database :=@subset(@dbName;-1);
"[http://" + Server + "/" + Database + "/0/" + @Text(@DocumentUniqueID) +
"?openDocument]"
This was first published in November 2000
This Content Component encountered an error

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close