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

Posted on 2004-03-30
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?
Question by:Yurij_Jilov
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
LVL 14

Expert Comment

ID: 10715612
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..

LVL 24

Expert Comment

ID: 10715637
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.

LVL 31

Accepted Solution

qwaletee earned 50 total points
ID: 10715814
Those values are stored in the database icon note.  The easiest way to figure out what you want to do is to take a snapshot of all the current values on the icon note, make your changes using the UI, then take another snapshot and compare.  Please note that $Flags is a series of characters, each of which represents some database setting, so you need to look at what letters are being used/not used between the snapshots.

Armed with this knowldge, you will be able to figure out how to chnage another database's icon to have the same launch settings.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 14

Expert Comment

ID: 10716192

Expert Comment

ID: 10716665
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
LVL 24

Expert Comment

ID: 10716800
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
LVL 14

Expert Comment

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

LVL 31

Expert Comment

ID: 10717063
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.

Author Comment

ID: 10721458
You are right, qwaletee, it's installer indeed :-)))). Thanks all answered and pgloor for code sample!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question