Tip

Multiple Embedded Views

I've found a way to embedded multiple views. It appears that the limitation is on the Designer client not the server. The server will serve as many embedded views as you add. The trick is to use Pass-thru HTML on your form/page and the java applet for views. The easiest way to do this is embedded the view you want on a page, view the applet source in your browser, copy it and paste it as html onto your form/page. This is the simplest way to get the correct ViewUnid and Cache_id parameters. This also allows you to embed views from other database. Below is a sample applet code ...
<APPLET NAME="view" CODE="lotus.notes.apps.viewapplet.ViewApplet.class" CODEBASE="/domjava" ARCHIVE="nvapplet.jar" ALT="MyView" WIDTH=560 HEIGHT=175>
<PARAM NAME="cabbase" VALUE="nvapplet.cab">
<PARAM NAME="Database" VALUE="Mydirectory/MyFile.nsf">
<PARAM NAME="ViewName" VALUE="(MY VIEW)">
<PARAM NAME="PanelStyle" VALUE="LINE_BORDER">
<PARAM NAME="ViewUNID" VALUE="FB4C3567FD35BCAE852569A30009D204">
<PARAM NAME="ShowScrollbars" VALUE="TRUE">
<PARAM NAME="Expand" VALUE="TRUE">
<PARAM NAME="bgColor" VALUE="FFFFFF">
<PARAM NAME="cache_id" VALUE="852571BA013618CD">
<PARAM NAME="RestrictToCategory" VALUE="MY KEY">
<PARAM NAME="locale" VALUE="en">
<PARAM NAME="IconPath" VALUE="/icons">
</APPLET>

This was first published in February 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.