This Month
September 2009
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Year Archive
Login
User name:
Password:
Remember me 
View Article  Notes v8.5.1 Beta

A lot has been said about the soon to be released version 8.5.1. As a user of the managed beta I found that early versions had some bugs, which made it rather difficult to use, but the latest code drop seems to have corrected all of these issues. Hopefully the gold code will be rock solid and not have any problems which will stop a roll out.

View Article  Automatically running a Fixup on Corrupt databases

Sometimes the Compact task will fail to complete due to a problem with the structure of a database. This can usually be fixed by manually running a Fixup command, at the Admin Console, which will correct the problem with the database corruption.

This is a manual process which will need to be carried out by the Domino Administrator. To prevent the admin having to do this I have written the Lotusscript agent below which can be put into a database, on a server in the Domain, to execute automatically.

  1. Create a new blank database on your Domino server.
  2. Create a new agent from the Designer.
  3. Set the agent type as Lotusscript.
  4. Copy and paste the Lotusscript below into the code window.

    %REM
        Agent Auto Fixup
        Created Aug 2009 by Paul Farris
        Description: Agent to automatically run a remote fixup command.
    %END REM
    Option Public
    Option Declare

    Sub Initialize()
        Dim session As New NotesSession
        Dim db As NotesDatabase
        Dim doc,doc2 As NotesDocument
        Dim item As  NotesItem
        Dim unProcessedDocuments As NotesDocumentCollection
        Dim dc As NotesDocumentCollection
        Dim contents,substring,servername,consolereturn As String
        Dim string_start,string_end As Integer
        Dim result As Variant
        Dim rti As NotesRichTextItem
        Dim found As integer
        Print "Running Auto fixup"
        Set db = session.CurrentDatabase
        Set unProcessedDocuments = db.UnprocessedDocuments
        Set doc = unProcessedDocuments.GetFirstDocument()
        If Not(doc Is Nothing) Then
            found=0
            Print unProcessedDocuments.Count & " new documents found"
            Set doc2 = New NotesDocument( db )
            Set rti = doc2.CreateRichTextItem("Body")
            While Not(doc Is Nothing)
                If doc.Hasitem("Body") And doc.HasItem("EventText") And doc.HasItem("ServerName") Then
                    Set item = doc.GetFirstItem("Body")
                    contents = item.Text
                    string_start = InStr(1,contents, |"|)+1
                    string_End = InStr(string_start,contents, |"|)
                    substring = Mid$(contents, string_start, string_end-string_start)
                    If string_End>0 Then
                        Print "Found: " & substring
                        servername = doc.ServerName(0)
                        consolereturn = session.SendConsoleCommand(servername, substring)
                        Print consolereturn
                        Call rti.AddNewLine(1)
                        Call rti.AppendText("Sending remote command to " & servername & " for " & StrRightBack(substring," "))
                        found=found+1       
                    Else
                        Print "Auto Fixup Error - String not found"
                    End If
                End If
                Call session.UpdateProcessedDoc(doc)
                Set doc = unprocessedDocuments.GetNextDocument(doc)
            Wend
            If found>0 then
                doc2.Subject ="Auto Fixup summary"
                doc2.SendTo = "Notes Administrator/Org"
                doc2.Form = "Memo"
                Call doc2.Send(False)
            End if
        Else
            Print "Auto Fixup: No documents found"
        End If
    End Sub

  5. Set the agent Trigger to “On Event”.
  6. Select “After Document are created or modified”.
  7. Set “Runtime Security Level” to “Allow Restricted Operations”.
  8. Sign the agent with an ID which can run restricted operations on the server.
  9. Create a mail-in database entry, in the Domain address book, pointing to this database.
  10. Configure DDM (Domino Domain Monitoring) with an event handler, when the message is “Database is corrupt -- Cannot allocate space”, to send an email to a mail-in database setup previously.

Now whenever a compact fails it will send the email alert, to the database, which will trigger the execution of the agent. The remote commend is sent to the server and an email generated to notify the admin. One less job for a busy admin to do.

View Article  Review of Blackberry Enterprise Server 5.0 Training

Last week I attended the Blackberry training course for the recently released Blackberry Enterprise Server 5.0 in London.

It consisted of two courses, BlackBerry Enterprise Server Software version 5.0 - Essential and BlackBerry Enterprise Server Software version 5.0 - Comprehensive, which were both two days in length.

PDF's of the full syllabus are here: http://uk.blackberry.com/support/programs/bas_5%200_essential_syllabus.pdf & http://uk.blackberry.com/support/programs/bas_5%200_comprehensive_syllabus.pdf

The training location was at Stayahead Training’s site, near the Barbican, in London. No other training sites, in the UK, were available.

The courses mainly covered installing version 5 from scratch, upgrading from a version 4.1.6 BES, using the Blackberry Administration Service, setting up High Availability and the Blackberry Monitoring server.

One of the few unfortunate things about this training course is that there is only an Exchange version currently available, of the course, unlike the BES 4.1.6 version which has a Domino specific course.

Another problem was that some of the labs did not seem to work but I am sure this was more down to the fact that the facilities were not owned by RIM and could not be configured to allow the VM images direct access to the SRP servers.

Overall I thought the training was very useful and I would recommend it if you intend to upgrade your BES, to version 5, or install a BES for the first time.

View Article  Searching on web enabled Notes databases

 

I have had problems when searching a database which has been web enabled. The results that are produced from a query do not match the results from the same query ran from the Notes Client 8 search bar. If the same search is carried out on a Notes Client 6 then it does return the same results as the web search. This is a problem when the searching is not consistent across the interfaces to the same database and data.

This is due to improvements in searching in the version 8 Notes client to make the searching more like the way search engines of the Internet work (from the users point of view).

 

<script language="JavaScript" type="text/javascript">
<!--
function validateForm()
{
if (document.Searchform.Query.value==0){
   alert("You must enter a keyword before searching.");
   document.Searchform.Query.focus();
   return false;
   }
var string = "";
var querystring = document.Searchform.Query.value;
if (querystring.indexOf('\"') == -1) {
if (querystring.indexOf(' ') != -1) {
  string = querystring.split(' ');
  var newstring = string[0];
  for (i=1;i<string.length; i++)
    newstring += " AND " + string[i];
  document.Searchform.Query.value = newstring;
}
}
}
// -->
</script>

 

<FORM name="Searchform" method="GET" action=" +  + "><input type="hidden" name="SearchView" value="<Computed Value>"><input type="hidden" name="SearchOrder" value="1"><input type="hidden" name="SearchWV" value="TRUE"><input type="hidden" name="SearchMax" value="0"><input type="Text" name="Query" Size="25"><input type=Submit value="Search" class="searchbutton" onClick="return validateForm(this);"></FORM>

 

The above javascript, that I have written, will modify the query string on submit to add an AND condition between each of the search terms. This gives the same results as the Notes v8 client searching.

 

Update: I will test the searching on Xpages to see whether that is also consistent or not.

View Article  BES 5.0 – Advantages to the Upgrade?

With the release last month of v5 of the Blackberry Enterprise Server I have looked at what advantages upgrading, to the new version, would give over the current version of BES.

 

Below is a summary of the new features based of the comparison charts on the Blackberry website.

 

  1. Device Side Folder Management
  2. Flag for Followup
  3. Calendar Attachment Support
  4. Synchronization of Public and Private contacts
  5. Synchronization of Multiple Contact Folders
  6. Calendar Meeting Delegation
  7. Support for Audio WMA files
  8. Support for Open Document Format (ODF)
  9. Remote File Explorer
  10. Web-Based Blackberry Administration Service Console
  11. Custom Roles with different levels of access according to employee’s roles and permissions
  12. Built in Monitoring with Threshold Analysis Tool  and Maintenance Window Support
  13. Job Management for Applications
  14. Throttling
  15. Schedules Upgrades
  16. Blackberry Enterprise Transporter
  17. High Availability
  18. Enhanced Enterprise Activation Diagnostics/Troubleshooting

 

The High Availability feature, allowing a backup BES server to automatically take over when the primary is unavailable, alone makes the upgrade worth while. Also the web-based admin console should be an be an improvement over requiring the Blackberry Administrators to each install the Blackberry Manager software locally.

 

From the users point of view there will not be any real changes until v5 of the handset OS is released.

View Article  Notes client mailto links do not work

 

Problem

 

Mailto links do not work when selected. Error message “Make sure path or Internet address is correct” is displayed.

 

Cause

 

The email is a MIME message and is displayed using Internet Explorer. You can see when the Notes Client is using Internet Explorer to render an object by the change in the top menus. An Applet item is added (see below).

 

image

This only seems to affect clients (6.5,8,8.5 tested) that also have Internet Explorer 8 installed. Possibly due to additional MIME type setup to be displayed, by Internet Explorer 8, when it is installed.

 

Solution

 

Disable the rendering of inline MIME in the Notes Client Advanced Basic Options. Untick “Disable embedded browser for MIME mail”.

 

image

 

Update: This also fixes the problem, in 8.5 clients, when the double right click to close does not work.

View Article  Testing

Test from LiveWriter

View Article  First Blog Entry
This is the first entry in the blog to test it's layout   more »