Refreshing Outlines

I want to change an outline using the NotesOutline and NotesOutlineEntry classes.The outline is in an embeded outline on a form with a “SavesOptions” = “0” field.

I have one button which makes the changes to the outline and another button which cycles through the outline and displays the new labels assigned by the first button.

The second button shows that the changes have been made, but there appears to be no way to change the outline displayed unless the database is close and opened again. I’ve seen this question asked before but there is no definitive answer.

Is this by design?

On another note, is it possible to access an embedded outline from lotusscript?

Any help gratefully received…

Wayne

Subject: Refreshing Outlines

Making changes to design elements and seeing the results right away is, generally speaking, a problem. I don’t know another way than closing and reopening the database, except in the case of forms and pages, which you can prevent Notes from caching by adding a small, hidden file attachment to them.

Subject: RE: Refreshing Outlines

Andre, thanks for the reply. I am doing dev work for the notes client only, so I was hoping to use the outline control.

The same types of controls are available from Java & javascript, so my next question is, can I load HTML in to a frame from a local database in the notes client? I’m thinking it can be done using URL’s but all of the examples I’ve seen are using a remote server. How would I specify the local database.

Or should I use Java instead?

Wayne

Subject: Can be done using R7 only

In R7, you can use notesUIDocument.Refresh( [ IncludeRichTextItems ], [RefreshEmbeddedObjects] ).It’s not documented in the Designer Help DB, but it shows up in the IDE during auto-complete.

We’re using it in the events4.ntf template to edit/show the DDM Server Collection hierarchy, which gets built as an outline and modified/displayed on the fly.

Thomas - IBM

Subject: RE: Can be done using R7 only

Thanks for the update. I guess this is one reason to upgrade to version 7.Unfortunately we aren’t going to be making that move just yet, so I’ll have to find an alternative.

Wayne

Subject: Refreshing Outlines —Solution?

If the oulines are embedded in a page or a form, after modifying the names or whatever for the outlines programatically, one can open the same page which refreshes the outlines or can compose the form with the links, in the same frame upon an action (button click etc.) (in Notes Client), by closing the current opened uidoc.

Hope this sort type can be implemented in your application.