Blog error when trying to “Notify Other Users”

A Blog owner was trying to notify the members of the Community (to which the Blog belonged) about a blog post by clicking on “More Actions” -> “Notify Other Users” and then selecting all from the  “Pick From Community” list but it caused the error shown below when they clicked send:

Notification could not be sent because the email address 123456AB-A1B2-1234-1234-12345678ABCD was not valid. Check the spelling of the email address and try again.

The error message is not very helpful because there was no way for the end user to be able to know which of the people they had selected was causing the error (as you can see the error returned a hex string instead of an email address) and they couldn’t proceed until it was resolved.

The hex string in the error is the UUID of the person affected, which meant I needed to find the persons name from their UUID which I did using the wsadmin command line tool.

1. Load the wsadmin client:

./wsadmin.sh -lang jython -user <username> -password <password> -port 8879

2. Load the Communities script:

execfile(“/opt/IBM/WebSphere/AppServer/profiles/Dmgr/config/bin_lc_admin/communitiesAdmin.py”)

3. Run the fetch command to return all the Communities and then call the output and write it to a text file:

commList=CommunitiesService.fetchAllComm()
CommunitiesService.listCommToFile(commList,”/opt/IBM/WebSphere/commList.txt”)

4. From the text file find the name of the Community and then copy its UUID. Using the Communities UUID call the member list.

errorComm=CommunitiesService.fetchCommById(“00000001-0001-0001-0001-000000000001″)
CommunitiesService.fetchMember(errorComm)

5. Search the output for the UUID from the original error message you’ll then be able to see the name of the affected person. As a temporary work around you could avoid adding them to the notification list whilst you investigate/correct the issue with their Profile.

Removing entries from the ‘River of News’

The question of how an entry could be deleted from the ‘River of News’ (the ‘Discover’ tab on the Homepage) came up on the Lotus Connections Forum,  I’d been asked the same question some time ago by a customer (their issue was a status update that had been created and then was swiftly deleted but not before it added to the River of News), so whilst I was posting my response on the forum I thought it would be worth including it here.

To remove the entry we used the following process:

1. Find the event story UUID
a. Navigate to homepage and locate the entry title you want to delete.
b. View the page html source code from browser.
c. Search the entry title from the page html source code.
d. Locate the storyUUID around the occurrence of the title.

2. Remove the news record from database.
a. Connect to homepage database from command line.
b. Run following command and replace the storyUUID with the one you find in previous step.
select event_record_uuid from homepage.nr_news_records where news_records_id=’storyUUID’
delete from homepage.nr_news_records where event_record_uuid = ‘result from the previous select’

Follow

Get every new post delivered to your Inbox.