How to open a Notes Form with the input fields filled and the form sumitted via Notes URL arguments?

We have a Notes knowledge database which users can access via Notes Client only, not via Web browser due to some company security policies. It uses a Notes Frameset for search, the left side is a search Form with several input fields eg. “QueryInput”, and the right side is a View for search results.

We want to find a simple solution to integrate this database as one of the sources with our Web based knowledge portal. One option is to provide a link on the web portal using its Notes URL. E.g. Notes://host_name/db_name/frameset_name?OpenFrameset

Clicking on the link launches Notes client and opens the frameset. This is fine except the user has to type in the search terms again and click to submit the search.

What we want to achieve is to have the search terms included in the Notes URL, have the form input fields filled and the form submitted automatically when a user launches the URL.

My questions are:

  1. Can Notes URL take arguments and automatically fill in the fields in a form? For example some thing like this where “QueryInput” is the name of a filed in the Form. I tried and it does not seem to work… Notes://host_name/db_name/form_name?OpenForm&QueryInput=server+crash

  2. If we assume the answer to question 1 is yes, then how to automatically submit the search? Do I need to do something on the Notes database? Or some command I need to add to the URL as argument?

Any suggestions or help are appreciated.

Subject: How to open a Notes Form with the input fields filled and the form sumitted via Notes URL arguments?

better solution :

  1. make a field with formula @urlquerystring(“queryinput”)

  2. make a button. Name that button “submitbutton”, id also "submitton.

this button should be hidden on the form (use

button

  1. on the onload event : document.forms[0].submitbutton.click()

regards

Jan

Subject: How to open a Notes Form with the input fields filled and the form sumitted via Notes URL arguments?

I think you are out of luck, Notes urls pay no attention to the query string last time I checked.

Subject: How to open a Notes Form with the input fields filled and the form sumitted via Notes URL arguments?

Thank you all for the suggestions. I will try them.

Subject: How to open a Notes Form with the input fields filled and the form sumitted via Notes URL arguments?

Use the Query_String field and from there u can grab the arguments u passed in the URL

example

the formula for the default value of the field QueryInput

@Right(Query_String; “&QueryInput=”), u can pass as many arguments as u want but make sure the URL is not too lengthy as am guessing there is a limit to the number of characters

of course u need to add a computed for display field called

Query_String and the value will still be Query_String

Cheers