Saving form on web and keeping it open

I have a $$Return formula on a webform that’s adding “&Seq=1” to the end of the string.

Does anyone know where this is coming from? I know when you reload/refresh a page, you normally get this, but I believe I’m calling a completely new URL in the $$Return.

Formula in $$Return:

defaultReturn := DBPath +“/RCByIATA?openView”;

saveReturn := “/”+@WebDbName+“/0/”+@Text(@DocumentUniqueID )+“?EditDocument” ;

@If(Status = “Save” ; saveReturn ; defaultReturn)

saveReturn is resulting in this:

http://server/dir/filename/0/433431f8d6498589072578cd005e38fc?EditDocument&Seq=1

When I manually remove the ‘&Seq=1’ the link works fine.

Can anyone offer suggestions as to why I’m getting this extra information on the end of my URL?

Subject: I think you need brackets for passthru…

I think you need brackets surrounding your links for passthru html. such as “[http://www.lotus.com]”.

I the seq is part of internal javascripts that Lotus Notes uses to track states in a stateless web page. Without seeing your application / code, I am going to guess that you have a “submit” button that you only provided a “@command([filesave])”, your $$Return is doing nothing but recalculating in a hidden section of the form. ($$Return usually needs an @command([fileclosewindow]) to trigger.)

If that is the case, I would recommend:

  1. Add a @command([fileclosewindow]) to your submit buttong like:

@command([filesave]);

@command([fileclosewindow]);

  1. Put brackets around your link that you want in your $$Return like:

“[http://www.lotus.com]”

-Kyle Huang