Category: <span>Uncategorized</span>

This can be done using an agent that is run by an ID that has access and delete rights to all the mail files on the server. The email will have the same Universal ID(UNID) in all of the mail files. This will allow you to get a handle on that particular email. The example code below gets a handle to the People view of the server’s name and address book. From the person document, it obtains the mail file for the user and then opens the mail file, locates the email and removes it.

The first step is to locate the UNID. This can be found by bringing up the document properties for the email you want to remove and looking at the beanie tab:

The UNID will be the 32 characters on the first 2 lines without the OF from the first line and the ON from the second line. Also, do not include the colon : on the 2 lines. So, the UNID for the above screen shot would be – EF883FE6FC7A14D185257F8E005D7D7D

The following code is an example that can be used to accomplish this. Please note that this code is provided as an example only. IBM support will not be able to modify or customize this agent. A version of this agent will need to be run on all mail servers in your environment. It can be set to run as a scheduled agent or via action menu selection. The target in both the scheduled version and action menu selection should be set to None

Sub Initialize
Dim s As New NotesSession
Dim perdoc As NotesDocument
Dim pview As NotesView
Dim mailDB As NotesDatabase
Dim db As NotesDatabase
Dim strServerName As String
Dim doc As NotesDocument

On Error Resume next

‘Set the strServerName variable to point to your server name
strServerName = “YourServer/YourDomain”
Set db = s.Getdatabase(strServerName, “Names.nsf”, False)
Set pview = db.GetView(“($People)”)
Set perdoc = pview.GetFirstdocument
While Not perdoc Is Nothing
Set maildb = s.Getdatabase(strServerName, perdoc.Getitemvalue(“mailFIle”)(0), False)
If Not maildb Is Nothing Then
Set doc = maildb.Getdocumentbyunid(“<Target document UNID goes here>”)
If Not doc Is Nothing Then
Call doc.Removepermanently(True)
End If
End If
Set perdoc = pview.Getnextdocument(perdoc)
Wend
End Sub

I found the information above on http://www-01.ibm.com/support/docview.wss?uid=swg21980866

Domino Uncategorized

The badge is using Mozilla OpenBadges technology to let people display verifiable acheivements.

Uncategorized

After download all files i just want to rename the files to presentation titles. I search for a rename software but the problem was not about software. The problem was how to get the relationship with the file and the presentation name.

I open every pdf file and get the presentation title and create the relationship. After that a small java program rename all files on a folder.

The file bellow has the relationship

renamer.txt

The java code bellow rename the files on the folder. Just put the reanamer.txt and Rename.jar on the same folder of the dowloaded files and run java -jar Rename.jar

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Rename {

    public static void main(String[] args) throws FileNotFoundException {
        BufferedReader br = null;
        String line = "";
        String cvsSplitBy = ",";
        String csvFile = "renamer.txt";
        br = new BufferedReader(new FileReader(csvFile));

        try {
            while ((line = br.readLine()) != null) {
                    
                    String[] oldName = line.split(cvsSplitBy);
                    
                    System.out.println(oldName[0]);
                    System.out.println(oldName[1]);
                    
                    File oldfile = new File (oldName[0]+".pdf");
                    File newfile = new File (oldName[1]+".pdf");
                    if (oldfile.renameTo(newfile)) {
                        System.out.println("Rename sucessfull");
                    }
                    
                }
        } catch (IOException e) {
            
            e.printStackTrace();
        }

        
            try {
                br.close();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }        
    }

}

Rename.jar

 

Uncategorized

This is a video series about the new features of WebSphere Portal 8.5 CF08

Creating a site with Site Builder: Administrator

Creating a site with Site Builder: Content Authors

Exploring the site toolbar and site manager

Creating pages

Editing options in the site manager

Uncategorized

This tool allows Help Desk / Support personnel to generate automated emails to a user having difficulty with a Calendar event.  The email contains a button for the receiving user to click which will allow them to select the problematic document, automatically extract and email the requested data back to the requestor (or a mail-in database).

See this technote from IBM

Uncategorized

For the first time i was nominated IBM Champion for Middleware.  Since the beginning of the program (2011) i was nominated  IBM Champion.

Thanks IBM.   New category new opportunities

Screenshot2014-12-0221.53.15

The list of all IBM Champions for Middleware class 2016

Uncategorized

Yesterday i was installing a TSM Server for our company. The db2 installer complain about the /tmp size.

The installer need 2,5GB and my /tmp has only 2 GB.

I create a “disk” using dd command with 4GB on a partition with lots of space.

dd if=/dev/zero of=/usr/tmpDSK bs=1024k count=4096
mkfs -t ext3 /usr/tmpDSK
file /usr/tmpDSK
umount /tmp

mount -o loop,exec,nosuid,rw /usr/tmpDSK /tmp

After the db2 installation i umount the /tmp and mount it back using fstab -a

Linux Uncategorized

Today i search for IBM Connections 5.5 download on Software Catalog and i found it

BM Connections V5.5 Multiplatform Multilingual eAssembly (CRY8GML)

IBM Connections 5.5 has many new features.

Whatch the webcast replay here.

 

Connections Uncategorized

Today i can’t open the TDI Configuration Editon on one of my servers.

One dialog box appears with the error ” Review the .metadata\.log for details.”

To solve the problem:

Go to the <workspace>/.metadata/.plugins/org.eclipse.core.resources/ directory.

If there is a .snap file, then delete or move to different location.

For reference read this IBM TN

Uncategorized

There are multiple vulnerabilities in IBM® SDK Java™ Technology Edition, Version 6 SR16FP7 that is used by IBM Notes and Domino. These issues were disclosed as part of the IBM Java SDK updates in October 2015. They are fixed as part of IBM® SDK Java™ Technology Edition, Version 6 SR16FP15.

See the security bulletim here

Uncategorized