Yes, you can write scripts to do this. What I have done is create a database with a script in the Other > Database Resources > Database Script > Initialize event. When tech support configures a new user, they open this database to force the script to run and change some settings that we have found helpful.
I’ll paste an excerpt here. I don’t think I have any ini settings in this specific script. I have another database that has buttons that are available to users to set things we’ve needed in the past. You can find example scripts in the designer help database for changing ini settings.
Here is a code snippet that gets connection documents that modifies them for our environment. This is not complete at all. It is just an example.
‘– dim variables needed to check whether users has LotusMSP1 connection document
Dim db As New notesdatabase(“”, “names.nsf”)
Dim view As notesview
Set View = db.GetView( “Connections” )
Dim doc As notesdocument
Dim condoc As notesdocument
Set condoc = view.getfirstdocument
‘– check whether connection document exists for LotusMSP1
Do While Not (condoc Is Nothing)
valuetest$ = Ucase(condoc.destination(0))
If valuetest$ = “CN=LOTUSMSP1/O=AUDIT DIVISION” Then
condoc.PortName = “TCPIP”
condoc.LANPortName = “TCPIP”
condoc.RemotePortName = “*”
condoc.OptionalNetworkAddress = MSP$
condoc.PhoneNumber = MSP$
condoc.DisplayPhoneNumber = MSP$
success = condoc.ComputeWithForm( False, False )
Call condoc.Save(True, True)
conset$ = “Yes”
WHY WOULD YOU EVEN POST THIS IF ITS NOT COMPLETE?
Thanks for your comment. IN CAPS. I posted a sample because I expect that people understand LotusScript and wanted to know how to reference the objects that need to be updated. The code could never be complete because I don’t know the full requirements for everything that needs to be updated. I have full requirements for people I work for that I need to address. I thought I was helping out a coder who can use this direction to provide a customized solution. Anyone that knows lotusscript must know that the next document needs to be set, the Do loop needs to be closed, etc. If not, Ms./Mr. Krishp is perfectly capable of following up to ask more questions.
My apologies to all members if this is the wrong way to use this site.