We help IT Professionals succeed at work.

How to replace launch properties of a database by Lotus Notes C API ?

Yurij_Jilov asked
Last Modified: 2013-12-18
How to replace launch properties (tab "Launch properties" on "Database properties" dialog) of a database by Lotus Notes C API ? I need to change string parameters "When opened in the Notes client", "Type of navigator" and "Name". Whether I can take advantage of function NSFDbGetExtendedInfo?
Watch Question

Can u little clear on what u are trying to do? All i know is nsfdbgetextendedinfo is undocumented.

you can control the launch using database queryopen event also..

There is no need of api to manipulate what is launched...Instead you can pretty much control what will be shown in the Database script open event.

If you use frames, you can pretty much calculate the content which should be and not be shown.. like bookmark db

Is there any specific application of api that I am missing.. And also as far the c api can access I have seen DBOptions that can be accessed doesn't include the above said object.

Unlock this solution and get a sample of our free trial.
(No credit card required)

I use this little piece of code to change the default navigator using a LortusScript agent:

Sub Initialize
      ' Change the Standard Navigator to Demo
      Dim session As New NotesSession
      Dim db As NotesDatabase
      Dim note As NotesDocument
      Set db = session.CurrentDatabase
      ' Get the Icon note
      Set note = db.GetDocumentByID("FFFF0010")      
      note.~$DefaultNavigator = "Demo"
      Call note.Save(True, False)
End Sub
When I have a straight forward method , why bother hacking thru .. it worked pretty good until R4. With advent of R5 that is made simpler ... And also this method will not yield dynamic page switch as frame does. You have to close and re-open the db to see the changes

I concur hemanth's answer also :-), if u see that was my first suggetion


Well, kiddies, I would guess there's a good reason for wanting to change the actual launch properties... maybe some sort of installer, or changes to user's local files, or something where a design change just isn't going to be easy to manage.


You are right, qwaletee, it's installer indeed :-)))). Thanks all answered and pgloor for code sample!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.