Programming the NotesOutlineEntry through LS

This is an easy one. (for someone besides me)

When working directly with an outline I have an option to “do not display an image” when I don’t want to see an icon next to my entries. My problem is I don’t see a way using LotusScript to set that same flag. I can set the icon I want to use but not set that checkbox.

Can anyone provide a little assistance?

Thanks,

D

Subject: RE: Programming the NotesOutlineEntry through LS

Use CreateEntryFrom to copy an existing outline entry that looks like what you want.

Subject: RE: Programming the NotesOutlineEntry through LS

That’s going to be a problem.

The outline rebuilds from scratch when the “Table of Contents” are changed in the database. I’m trying to re-create the Lotus Help Interface to build a best practices database. So what you are saying is right now I don’t have the ability to program that properties of an entry in regards to the “don’t show the icon” property?

Thanks in advance.

Subject: RE: Programming the NotesOutlineEntry through LS

I’m agreeing with you that I don’t see any method or property that would allow you to set this property without using the Designer UI.

Don’t be defeatist – think of ways to work around limitations. I can see two ways around the objection you raised.

First, you can use CreateEntryFrom to copy an outline entry from an outline other than the one you’re working on. Why not create an outline that’s never displayed to users, but is there just to copy things from?

Second, creating an outline “from scratch” doesn’t mean you have to delete every entry and start over. You could save one old entry, copy it to create your new entries, and then delete the one old one.

Subject: RE: Programming the NotesOutlineEntry through LS

Andre,

I’m not being a defeatest. I’ve been building Notes/Domino apps (and other apps) for 10 years now. All of them need the occasional workaround. I just wanted to make sure I wasn’t missing something obvious. I’m amazed that even after that many years I still find myself learning new things everyday.

I’m using the template outline solution. Its already built and working fine. I appreciate your feedback and solution to my problem.

Have a good weekend!

Subject: Antother workaround for hiding Notesoutlineentry images

Thanks to this post I didn’t waste any more time on hiding the image. However I found another workaround that could perhaps help someone out: In stead of creating an extra outline and copying the entries, I created a 1*1 pixel transparant gif image and reference this is the imagetext property. This also works out great!