How To Make IE as Notes Default Browser Through LotusScript

How set Internet Explorer as Notes Default Browser. Same code can be used to change different brower setting in location document.

This changes Browser settings for all location documents.

This is done in two steps,
First create a Button & Put below script, which will check for browser setting, if setting is not IE then sets to IE.

Second Create another button to Apply Changes you just made to the current Location document without Closing Notes.

You can check current Setting by this statement. @LocationGetInfo([WebRetriever])

'First Button Call it Make IE Default Notes Browser

Dim sess As New NotesSession
Dim db As New Notesdatabase("","names.nsf")
Dim doc As Notesdocument
'
Dim view As Notesview
Dim ChangeFlag As Integer

If Not(db.IsOpen) Then Call db.Open("","")
Set view=db.GetView("($Locations)")
Set doc=view.GetFirstDocument

ChangeFlag = 0

While Not(doc Is Nothing)
Print "Checking default browser for Location:
"+Ucase$(doc.Name(0))
If doc.WebRetriever(0)<>"2" Then
Print "Setting default browser to IE: "+Ucase$(doc.Name(0))
doc.WebRetriever="2"
Call doc.Computewithform(False,False)
Call doc.Save(True,True)
ChangeFlag = 1
End If
Set doc=view.Getnextdocument(doc)
Wend
Print ""
If ChangeFlag = 1 Then
Msgbox "At least 1 Location document was altered by this process.
In order for the change to take effect, click the [Apply] button, or exit
and re-start Notes."
Else
Msgbox "Your Browser settings were already correct. No Location Documents were changed."
End If

'Second Button Code Call It Apply Changes

@Command([SetCurrentLocation];"");
@If(@Prompt([YESNO];"Verify Browser Change";"We will now attemp to connect
to the Intranet using Internet Explorer. Do you want to proceed?") ;
@URLOpen(http://www.lotus411.com);"")

This was first published in November 2000
This Content Component encountered an error

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close