Tag Archives: connections

Force the creation of thumbnails for all files in Connections with File Viewer

When installing the File Viewer for IBM Connections (which is free in case you did not know), then it will create thumbnails for a quick preview for all files uploaded from now on. You might have a large number of files already in the system though. To enforce the creation of thumbnails for all existing files in the Files application of IBM Connections you need to do the following steps (for IBM Docs / File Viewer 1.0.7 you will have to install iFix 2 first, which you can find in FixCentral):

1. Start the wsadmin client.

 

Go to <WAS_HOME>\profiles\<DMGR>\bin>

./wsadmin.sh -lang jython -user <admin_user_id> -password <admin_password> -port <SOAP_CONNECTOR_ADDRESS Port>

 

2. Start the Files script with the following command: 

 

execfile(“filesAdmin.py”)

 

3. Use the following command to synchronize the internal IDs of the Files users:

 

FilesThumbnailService.generateForAllFiles()


Now all thumbnail will be created (can take some time depending on the amount of Files in your Connections environment).

Installing IBM Connections 5.0, CR2 and IBM Docs on Linux – Guides

My colleague Charles Price has created two guides covering the installation of IBM Connections 5.0, CR2 and IBM Docs on Linux. While I have created guides like that before, I have always done them on Windows, as Linux is, for me at least, a different kind if beast that I have so far avoided as much as I can. 😉

Here you go:

Installation guide IBM Connections 5.0 on Linux

Installation guide IBM Connections 5.0 CR2 on Linux

Installation guide IBM Docs 1.0.7 on IBM Connections 5.0 CR2 on Linux 

 In the last one I especially like the two topics of upgrading CCM for Docs as well as the description on how to configure either NFS or CIFS shares.

How to integrate IBM Docs 1.0.7 with IBM Connections 5.0 CCM CR2 (Filenet Libraries in Connections)

IBM Connections CCM integrates IBM Connections Communities with Filenet libraries, allowing users to store files hierarchically and add further features such as file types and approval process to it.  IBM Docs is able to integrate into those libraries to all user to view and edit files collaboratively. How to do this is unfortunately at the moment not very well documented in the IBM Docs knowledge center (this will be changed in the near future). Therefore I have created a Step by Step guide that will help you to install IBM Docs 1.0.7 on a IBM Connections 5.0 CCM CR2 system including the integration with Filenet Libraries.

You can find the guide on Greenhouse. Greenhouse is IBMs collaboration demonstration platform available to everyone, demonstrating solutions such as Sametime, Portal, Connections, Docs, Forms and many more (you will have to sign up, though).

Here the direct link to the guide:

https://greenhouse.lotus.com/files/app#/file/3116002b-81d3-4fbf-875d-9e3a139f4855

Problems creating CCM Domain in Connections 4.5

Today I had some issues creating the CCM P8 Domain, getting errors while creating the domain as well as some access errors.  Here I found the proper solution posted by Shil P:

http://www-10.lotus.com/ldd/lcforum.nsf/869c7412fe5d56b7852569fa007826e3/fa22392acbe67b7d85257c0000618306?OpenDocument

1. Stop Connections JVM. Nodeagent and Dmgr can remain up (unless you want to clear TEMP and WSTEMP files).

2. Remove all files and directories contained WITHIN …\IBM\Connections\Data\Shared\CCM. Do not delete the CCM directory itself.
3. Delete the dminfo.properties file from …\IBM\Websphere\AppServer\Profiles\Dmgr\bin
4. Drop and recreate the IBM Connections Content Manager database via dbWizard.
5. Start Connections JVM
6. Run ..\ccmDomainTool>createGCD.bat
7. Run ..\ccmDomainTool>createObjectStore.bat

The main culprit seemed to have been a improper dminfo.properties.  Deleting it solved the problems.

Adding IBM Connections / WebSphere Applications to Windows Services

When installing IBM Connections on Windows only the Deployment Manager is added as a windows service during the installation. Parts like the node agent or later on the Connections clusters are not added.  To do so you need to run the following command from /WebSphere/AppServer/bin :

WASService.exe -add SERVICENAME -servername SERVERNAME -profilePath “C:\IBM\WebSphere\AppServer\profiles\AppSrv01” -stopArgs “-user wasadmin -password password” -userid windowsadmin -password password -startType automatic

SERVICENAME

This a freely chosen name for the service.

SERVERNAME

This the name of the specific server that needs to be stopped (such as nodeagent).  To find out the names you can go to /WebSphere/AppServer/profiles/AppSrv01/bin and run serverstatus.bat -all . This will list all servers including the running status.

profilePath

Edit it to fit your environment.

stopArgs

These are necessary to be able to not just start the service, but to also stop it. It will provide the WAS admin credentials during the stop process. Enter your own wasadmin user ID / password.

userid

This user has to be a windows user that has the right to start and stop services.  Once the service is created you can change it in the service setting in the Services list from Windows to local system account.

startType

This defines whether this service is started automatically at booting or not.

Files Plugin for Lotus Notes does not upload documents

If you are using the Files Plugin Lotus Notes from the Greenhouse Solutions Catalog, you may be finding yourself being able to see and download all files in IBM Connections Files repository, but when trying to upload a file though, you might get an error message like that:

A problem with the server was encountered.

 

To solve that problem you need to add one line to Lotus Notes plugin-customization.ini:

com.ibm.documents.connector.service/ENABLE_SSL=true

Then save the ini-files, restart the Notes Client and the upload should be working now.

The plugins-customization.ini can be found in your Notes install directory/framework/rcp in Windows.  Mac user right click the Notes.app icon and choose “Show package content”. Then they go to Contents/MacOS/rpc/ .

iFix LO64399 for Mobile Support in Connections does not work on Windows 2008 R2 Enterprise Edition

Some may have noticed that even after installing the iFix LO64399 September Update for IBM Connections 3.0.1 the mobile Applications on iOS and Android don’t work, even though the iFix Installer says it has been sucessfully installed.  Sjaak Ursinus found the reason for it: This problem only occurs on Windows 2008 R2 Enterprise Edition and is due to a missing support line for this OS in the iFix.

There are two solutions to it:

1.  As found by Sjaak:  Add the line for Windows 2008 R2 Enterprise Edition (“Windows 2008 R2”) to the MANIFEST.FM text file in the iFix (located with the fix: LO64399\efixes\LO64399\components\mobile\update\META-INF\MANIFEST.MF) and install it again.

2.  As found by Brian Ocs:  Run the Update Installer you use to install the fix with in Windows 2003 compatibility mode.

 

Once you have done that you should be able to access IBM Connections using the free apps in the App Stores of iOS and Android.

Connections on iPad

Population of Connections Database Field DisplayName if this entry does not exist in LDAP

Today I noticed in a customer installation that nowhere in the LDAP a usable displayname (aka “Martti Garden”) was available.  My collegue Barbara Koch helped me out solving this:  The attributes surname (sn) as well as givenname (givenname) were available to I had to compute the display name.

 

So I edited the profiles_functions.js and added the following function:

 

// Function to compute the displayname from given name and surname

func_compute_dn(fieldname)

// Get the content of the “sn” field as a string

{
var surname = work.getString(“sn”);

// Get the content of the “givenname” field as a string

var vorname = work.getString(“givenname”);

// If both entries are not empty

if (vorname != null && nachname != null) {

// return first name and last name separated by a space

return vorname + ” ” + nachname;

// otherwise

}

else {

// return the content of the “cn” field as a string, if it is empty it will return NULL

return work.getAttribute(“cn”);

}
}

 

Now I had to edit the map_dbrepos_from_source.properties and mapped the function to the diplayname field:

displayname={func_compute_dn}


Now I ran the populate_from_dn_file script and had the Displayname showed correctly in IBM Connections.