How to programatically Instant Messaging server

Hello All,I would like to to programatically update the “IBM Lotus Instant Messaging server” entry in the File → Mobile → Edit Current Location → Servers.

Essentially I would like to write a small C++ executable to update this entry. Is this possible?

Thanks,

Saqib Ali

Subject: How to programatically Instant Messaging server

why not use a policy or setup profile to do it in a couple of clicks instead of the c++ code?

Subject: RE: How to programatically Instant Messaging server

Hmmm… I am trying to change the existing install base of LN R6.5.1 . I think a setup profile can only be used when new installs are being performed. or am I missing something?

Thanks.

Saqib Ali

Subject: RE: How to programatically Instant Messaging server

Use Policies. Read about them in the admin help. Very simple. Users will get the updates when they open their mailbox on the server.

C++ might be a fun approach, but you don’t need a sledge-hammer to do something this simple. Use Policies instead.

Subject: There are many types of policies… Setup is just one, Desktop is what you are looking for…

From the Admin Guide…

Using a policy, you control how users work with Notes. A policy is a document that identifies a collection of individual policy settings documents. Each of these policy settings documents defines a set of defaults that apply to the users and groups to which the policy is assigned. Once a policy is in place, you can easily change a setting, and it will automatically apply to those users to whom the policy is assigned.

Policy settings documents cover these administrative areas:

Registration – If a policy including registration policy settings is in place before you register Notes users, these settings set default user registration values including user password, Internet address format, roaming user designation, and mail.

Setup – If a policy including setup policy settings is in place before you set up a new Notes client, these settings are used during the initial Notes client setup to populate the user’s Location document. Setup settings include Internet browser and proxy settings, applet security settings, and desktop and user preferences.

Desktop – Use desktop policy settings control and update the user’s desktop environment or to reinforce setup policy settings. For example, if a change is made to any of the policy settings, the next time users authenticate with their home server, the desktop policy settings restore the default settings or distribute new settings specified in the desktop policy settings document.

Mail archiving – Use archive policy settings to control mail archiving. Archive settings control where archiving is performed and specify archive criteria.

Security – Use security settings to set up administration ECLs and define password-management options, including the synchronization of Internet and Notes passwords.

Subject: RE: How to programatically Instant Messaging server

Setup profiles did indeed only affect installation back in R4, but R5 is when dyncfg was introduced, and profiles became “Dynamic Client Configuration Profiles”, where the client checks for updates every time the user authenticates with their home server – except they were still called Setup Profiles.

Anyway, I mainly included them in my post for completeness; Desktop Policy is more flexible (and certainly more far-reaching), especially since it can take effect automatically if you use Organizational policies.