I've build a - two frame based - HTML page, with the menusystem in the left frame. For layout reasons I've incorporated a computed subform on the $ViewTemplate, which - based on a field entry (a key) - "hooks" up the correct view. Formula dependant that is!
When I enter the key manually in the field on the $$ViewTemplate form, and hereafter refreshes on the Web, the correct view appears, which indicates that my viewselection based on formula is functional.
But what I really want to do is to call the URL (with the key) directly from the menusystem. Right now all I have is a "http://someaddress/imp/edb/Handbog.NSF/WebServiceHB?OpenFrameSet" from each menupoint, but I want to add the key to the URL, to generate the right view.
How is this possible?
The good news is that this is pretty simple. You simply create URL that contains your key in a query string format e.g. name=value&name=value. Using the URL you supplied as an example:
Where view1 is the name of the view. You then add a field, I'd suggest that you make it computed for display, called Query_String and make the computed value of the field Query_String. This will allow you to access the query string CGI variable in your form. You can then parse the values from the field in your formula used to select the view. If there is only one parameter in the query string, something like the following would work nicely to get the view name:
Dig Deeper on Domino Resources - Part 2
Related Q&A from Dave Hatter
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.