Notes:// & parameters

Howdy!

This has been asked many, many times but never answered. Here’s what I’d like to do:

notes://server/db/form?OpenForm&param=1234

In that form, I have script in the postopen event which is supposed to read the parameter and open the proper document. I’ve tried CGI variables, but no luck.

Any idea on how I can get a handle on the parameter?

Thanks, in advance!

Steve in NYC

“If it ain’t broke fit it til it is.”

Subject: *You can’t. It is not defined to allow extra parameters, although I wish it were.

Subject: RE: *You can’t. It is not defined to allow extra parameters, although I wish it were.

…although you may be able to achieve what you need by OpenAgent instead of OpenForm, except I’m not sure whether Notes protocol respects passing parameters to the agent via the URL.

See the following link (and its linked Example):

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/855dc7fcfd5fec9a85256b870069c0ab/8a759d036560a9f88525704a003fb8c3?OpenDocument

and

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/855dc7fcfd5fec9a85256b870069c0ab/9b348d88c9bd76468525704a00410304?OpenDocument

Subject: RE: *You can’t. It is not defined to allow extra parameters, although I wish it were.

Howdy!

Thanks, but I tried NotesSession.DocumentContext and no such luck. I guess it can’t be done like this.

How about “notes://server/db.nsf/view/key”, where the “key” is the first value in the view? How come this doesn’t work? Is it supposed to?

I can’t seem to find anything in this in the Designer help, although, to be honest, there are tons of things not in there.

Thanks, in advance!

Steve in NYC

“Indecision is the key to flexibility.”

Subject: RE: *You can’t. It is not defined to allow extra parameters, although I wish it were.

Hey, Ben!

I hear ya’ barkin’, big dog! I wish it were too! How come:

“notes://server/db/view/key” doesn’t work, either? Does the key have to be the UNID?

Thanks!

Steve in NYC