Navigating through embedded views

For Notes Client (no web access) I’m trying to use a template form to embed different views but seem to have something wrong with my overall design.

When I create a separate view template form for each view and launch that form from the navigator everything works fine. This is not a good solution since I have a couple of dozen views to display and feel there must be a way to create a “generic” view template form and use a formula to pull in the right view.

I’ve tried changing the navigator to use formulas in action hotspots that set an environment variable and then [Compose] the template. The template retrieves the view name from the variable and loads the view. But I wind up with a new window being added every time I click on a new view.

Any help you can give is very much appreciated.

Subject: Why embedded?

Why are you embedding them? Would it work just as well if you used a frameset with a navigator to change views?

You might even be able to use a frameset to allow you to use that Compose method (just make sure to identify which frame to open it in).

If you must have an embedded view, you can also check the little box at the bottom of the Insert Embedded View dialog box to “Choose a View Based on a Formula”…

I just wonder if you actually need to use an embedded view or not, since you can open views without a template in the Notes Client.

Hope this helps,

Dave

Chub Toad, LLC

Subject: Why embedded? - using “Show single category”

Dave - thanks for the response. Here is some clarification:

I have views that need to be embedded so they can be limited to displaying one category. They are all using the same category selection criteria and could be displayed in one view template form IF I could come up with the right Action formula to launch them.

Here is the code that I’m trying to use from the navigator action hotspot:

@Environment(“vw1”; “RcvgByModel” );

@Command([Compose]; “$$ViewTemplateDefault” )

When you click on the nav action hotspot, the view name is set in the “vw1” environment variable and the view template form is launched (or “composed”). The view template form then retrieves view name from the vw1 variable in the “Embedded selection” formula.

So, what I’m really trying to do is emulate what a Hotspot Resource Link does when you tell it to open a Named Element->Form->By Form Name.

Subject: RE: Why embedded? - using “Show single category”

Have you looked at @SetViewInfo to display a single-category view “naked”?