Passing a Value to Embedded View?

Does anyone know of a way to pass a value to an embedded view?

I tried @URLQueryString but it is ignored in views.

I tried referencing FIELD values from the parent form. Thats no good.

My last shot is to try to use a Search form but I would like to see lotus add a little more capability to the embedded views.

Thanks,

Mike

Subject: Passing a Value to Embedded View?

I used the below search string in the “Search this forum” for the Notes/Domino 4 and 5 Forum

“pass AND value AND embedded AND view”

http://www-10.lotus.com/ldd/46dom.nsf/Search?SearchView&Query=pass%20and%20value%20and%20embedded%20and%20view&SearchOrder=0&Start=1&Count=100

This particular response post might be your problem,

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/4fa164dc800c041885256b920013dcef?OpenDocument

Also, not positive about this, but you may need to set the Form property “Generate html for all fields”.

HTH,

Subject: RE: Passing a Value to Embedded View?

Mike,Thanks. But I was hoping someone had a clever trick. Because Domino doesnt let you pass values to Embedded views. Nor does it let embedded views access any of the parent document information. Too bad because this could make it easy to create some nice dynamic apps. I am just trying to do some simple category traversing, and I don’t want to hard code many category views. I may try a Java applet if I get a chance. Or wait til V7.

Subject: RE: Passing a Value to Embedded View?

Embedded views can read from the querystring, that’s how the …?OpenView&RestrictToCategory=… thing works. Or are you asking something else?

Subject: RE: Passing a Value to Embedded View?

I might be asking for something else.Just for hahas here is a sample url. What formula would you use to display the SUBCAT in the second column of the embedded view?

http://h/db/v?ReadForm&View=wCat&CAT=1.sports&SUBCAT=2.nfl

If domino would let us grab a querystring from a column we would be golden. I know I can restrict the view to CAT. but the trick is to be able to use the values in the query string to calculate down-line URLs. This would eliminate the need for many seperate views depending on your category depth.

As of now your category depth is limited to the number of CAT(n) views you want to make. I will keep mine to about 3.

Subject: RE: Passing a Value to Embedded View?

Hey Mike,

I see what you’re trying to do now!

You’re right, you need a view for each level of sub-category you want to navigate. I tried playing with hierarchical categories (e.g. Cat1\Subcat1 ) which gives you the category twisties but from the web there doesn’t seem to be a way to pass a hierarchy to the SSC.

I don’t know if this will help you at all but I wrote an article on how to do this by chaining views together (a view for each level). There is a free sample database at http://www.eview.com/eview/viewr5.nsf/e640f630a3361f84852568f600070fd3/c041947091bae84385256a55007c9561?OpenDocument

Reference: THE VIEW (Jan/Feb 2001 issue), “A Custom View Interface for the Web - Featuring Fast Loading, Easy Drill-Down, Breadcrumb Links, and “Jump-to” Functionality”.

HTH,

Subject: RE: Passing a Value to Embedded View?

Thanks. I have the tree traverse down. But I came upon an even bigger problem yesterday so I am unable to design right now. see “Designer really screwed” So until I get that fixed I am just spinning my wheels in da mud.

Thanks for time.

I just like ot make sure I wasn;t missing something…