IBM Connections – How to change Personal Notification Preferences for all Users

You may find yourself in a situation where you need to change the personal IBM Connections E-Mail Notification Settings for all Users. IBM Connections Users have the following options to choose from:

17_49_39-Email Notifications

There is a set of Default Settings which is applied to every user, as soon as the TDI-Sync runs, and the user is created in a database. So, the first thing to do, is to change these default settings. The official documentation does a pretty good job explaining the possibilities you have here, like Locking the User Notification Preferences, and the steps needed to apply the changes, so I won´t go in greater detail on those here. It is important to keep in mind, except if you are not “locking” the preferences, the preferences on Email notifications will only be set automatically for users which are created in Connections, as a result of the TDI Assembly Line, after you make those changes. In order to test the modifications made, you could use the “Restore Defaults” option on the Notification Preferences page.

But changing the default settings will not have any impact on the existing users, to change the notification options for them, you need to take a different approach.

I wanted to change the notification settings for all Users to “No Email”, but still make sure that the users can change those settings if they wish to, so simply locking those settings was not an option. I tried locking the Notification settings for all users to “No Email”, but after removing the lock, the setting would just be reverted to the setting done earlier. It turns out that there is no other possibility than to change the records in the database directly. A word of warning, you should contact the IBM Support before proceeding, because changing the records in the Connections Databases directly is not supported, I also recommend a database backup. 🙂

I am using for IBM Data Studio Software, but any other Database Software which allows you to connect to your type of database will suffice.

The Database Tables in which we need to change the records are “HOMEPAGE.EMD_RESOURCE_PREF” and “HOMEPAGE.EMD_EMAIL_PREFS” (in the HOMEPAGE database), a big thumbs up to Martin Schmidt for saving me countless hours searching for the correct table. Both of these tables have “PERSON_ID” column, so I searched in the “HOMEPAGE.PERSON” table for my test accounts in order to find out the “PERSON_ID” values of these accounts, so I could reproduce the desired state of one account and make sure that the changes made are valid and as I wanted them set. I’ve done that with the following SQL statement:

select *

from empinst.employee

where prof_display_name = ‘Milan Matejic’;

After getting the right “PERSON_ID”, I could check the Records in “HOMEPAGE.EMD_RESOURCE_PREF” and “HOMEPAGE.EMD_EMAIL_PREFS” tables.

— Email Notifications

select *

from homepage.emd_resource_pref

where person_id = ’13a96f01-37d8-4674-ae51-f6d2d19ee8e9′;


— Direct Emails

select *

from homepage.emd_email_prefs

where person_id = ’13a96f01-37d8-4674-ae51-f6d2d19ee8e9′;

The columns we need to change are “SEND_DIRECTED” in “HOMEPAGE.EMD_RESOURCE_PREF” table and “RESOURCE_TYPE” in “HOMEPAGE.EMD_EMAIL_PREFS” table. Setting “SEND_DIRECTED” to ‘0’ will result in deactivating “Receive notifications from other people by email”. For “RESOURCE_TYPE” we have the following options:

‘4’ –> Weekly

‘3’ –> Daily

‘2’ –> Individual

‘1’ –> Deactivated

In my case I wanted to set the notifications to “No Email” for all users, so I went with setting ‘1’ in all rows in the table.

Note: Before making changes for all users, you should make the change just for one test user, to make sure that there are no problems and that your statement is working properly.

I accomplished the task with the following update statements:

—– Update Statement HOMEPAGE.EMD_RESOURCE_PREF

update homepage.emd_resource_pref

set frequency_type = ‘1’

where frequency_type != ‘1’;

—– Update Statement HOMEPAGE.EMD_RESOURCE_TYPE

update homepage.emd_email_prefs

set send_directed = ‘0’

where send_directed != ‘0’;

Before and after running the update statements, you can verify the changes by looking on the number of rows with certain settings:

—- Search for Frequency Type

select *

from homepage.emd_resource_pref

where frequency_type = ‘1’;

—- Search for Send Direct

select *

from homepage.emd_email_prefs

where send_directed = ‘0’;

After running the update statements, just refresh your browser, there is no need to restart any applications or components.

As a bonus, I created an Enhancement Request, so hopefully in future we don’t need to change the database records for this, so please vote for it by accessing the IBM Connections Product Ideas Lab.

Advertisements

JUMP Session: Understanding and Configuring IBM Connections Engagement Center (ICEC)

A Jump Session about Connections Engagement Center (ICEC) will be held at 12th of September. For details and “.ics” file, take a look at the following page:

http://www-01.ibm.com/support/docview.wss?uid=ibm10713447&myns=swglotus&mynp=OCSSYGQH&mync=E&cm_sp=swglotus-_-OCSSYGQH-_-E

If you would like to know what ICEC is all about, than the following video is a good start:

 

 

 

 

IBM Connections – WAS Plugin issue

If you get an HTTP 404 Error in a browser, after trying to access an IBM Connections Application and errors like

“File does not exist: E:/IBM/HTTPServer/htdocs/profiles”

start popping out in “error.log” file of the IBM HTTP Server, then most probably there is an issue with WAS Plugin.

I had this error just after the Installation of IBM Connections and the reason was the incorrect value of “WebSpherePluginConfig” variable, which contains the path to the “plugin-cfg.xml” file in the HTTP Server configuration. After the value was corrected and a correct path was supplied, IBM Connections could be accessed without any issue.

Travelog, on the Path to Pink!

Today I attended an IBM Webcast, translated to English “Path to Pink”, it was held by Martti Garden and Matthias Schneider. Personally, I found it exciting and very informative. The IBM is keeping their promise and continuously delivers new Connections “Pink” parts.

I will skip the talk about technology and components on top of which Pink is being built, as well as the reasons why this is done, I am sure most are familiar with this part.

After a brief introduction with OrientMe, Connections Customizer and “Pink Metrics”, all these components are already delivered as a part of the pink package. We got a bit of insights what is coming next and a demo of some components which are not published yet.

For example, IBM Docs is coming as a Container, I personally liked the Docs Editor, which can be used in Files, Blogs and Wikis. It has a powerful export feature, which lets you export a blog to a wiki article.

“Pink Profiles” also extends the functionality of the Profiles application, many customers will like this, as it brings some highly practical functionality which was desired by many.

“Pink Middleware” will be delivered to allow new plugins and applications to be integrated in the Pink package easier.

“Pink Note”, “Connectron Client” (was also demonstrated) and “Pink Content” were just some of many terms mentioned.

For sure, these are very fun and excitement times to work with IBM Connections. I like the path were Connections is developing and the effort put by the IBM to develop the workplace of the future.