New Outline Entry - Wont Display!

Hi There,

I have this code that adds a new outline entry to a defined outline, which is embedded in a page for use with a navigator. The code is adding the new outline entry to the outline, as I’ve opened the outline after the code runs to see if it’s there. But it is not displaying when I open the database.

Do I have to refresh the page, frame or something? What am I missing out? I’ve read the help and the examples given, but nothing there indicates you have to refresh anything.

Cheers.

Subject: New Outline Entry - Wont Display!

Check in outline entry properties if it is hidden from ‘Notes 4.6 or later’. If the outline-entry points to hidden view it will probably have that property checked.

Subject: RE: New Outline Entry - Wont Display!

Thanks for your response, I checked and it’s not hidden from notes. The link is to a database. Even when I go into the outline and see that it’s there, I resave it and it still wont display in the page. Also when I re-add the outline to the page I cannot see it. Any other ideas woul be appreciated. Here my code just in case!! :slight_smile:

Set outPat = dbCurr.GetOutline(“outPAT”)

Set oEntryCurr = outPat.CreateEntry(“Database Link”)

oEntryCurr.Alias = “DBLINK”

Call dbLink.OpenByReplicaID(dbCurr.Server, strRepID)

If dbLink.IsOpen = True Then

Call oEntryCurr.SetNoteLink(dbCurr)

End If

Call outPat.Save

Subject: RE: New Outline Entry - Wont Display!

Ya how dumb am I. It’s in the code right there! I’m passing in the dbCurr rather than the dbLink!!! Idiot, man that took me a while to find!! Thanks for the help anyway.