Displaying search-results in an embedded view

Hiya!

I want to make a form that allows me to search a view, and display the results directly in an embedded view on the form..

I don't think I'll have any problems with the search,  but I don't know how to decide over the contents of the embedded view..

How do I 'get hold' of the embedded view (from LotusScript in the form)?
How can I manipulate its contents?

Regards
/Torbjörn Josefsson
tobloAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ArunkumarCommented:
Hi toblo !

Why do you want to get hold of the embeddedview.

You search for the documents put them in a document collection and process the docuement collection so that it has a special field with a value.

Now your embedded view will have the normal selection condition plus this field content.

Only the documents with this special field will show up in the view.

What else you need ?

-Arun
0
dalehendCommented:
In 4.6.x, you can use a Folder for the DocumentCollection and then manipulate the Folder contents with LotusScript
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tobloAuthor Commented:
Hmm.. I don't quite get it..

-The reason I wanted to get hold of the embedded view was that I thought there was some direct way of manipulating its contents that way.

Ok.. I've tried adding a field to each of the documents I've got in the document collection I want to display:

Set doc = dc.GetFirstDocument
While Not(doc Is Nothing)
      Set item = doc.AppendItemValue("Searchfield", "1")            
      Set doc = dc.GetNextDocument(doc)
Wend

Doesn't seem to affect the contents of the view, though.. I think I need more details - I'm pretty new to notes

0
tobloAuthor Commented:
Well.. Folders are nice :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.