mySphere Posts

Share

One of the most important part of the IBM Connections is the person profile.  

The full name of the person, in general, is stored on a corporate LDAP.   Last week i am in charge to populate the profiles database with photos, and a lot of data from LDAP.

The person attributes on the ldap , like SN, CN, Display name was in capital letters like FIRST NAME LAST NAME.  We don´t want this kind of display names,

The solution: Custon function before importing the users.

Copy this function to the file profiles_functions.js

function func_name (fieldname){
  //get attributes
  var nome      work.getAttribute(“givenName”);
  var sobrenome = work.getAttribute(“sn”);
  var fullname  = nome + ” ” + sobrenome;

  return properCase(fullname);

  function properCase(text) {
    var articles = [ ‘e’,’o’, ‘a’, ‘de’, ‘da’, ‘dos’, ‘das’]

    return map(text.split(/s+/), function(word) {
                                    return isArticle(word)?  word.toLowerCase()
                                    :      /* otherwise */   capitalise(word) })
           .join(‘ ‘)

    function map(xs, f) {
      var l = xs.length, r = new Array(xs.length)
      for (var i = 0; i < l; ++i) r[i] = f(xs[i])
      return r }

    function has(xs, x) {
      for (var i = 0; i < xs.length; ++i)
        if (xs[i] === x)  return true
      return false }

    function capitalise(word) {
      return word.slice(0, 1).toUpperCase() + word.slice(1).toLowerCase() }

    function isArticle(word) {
      return has(articles, word.toLowerCase()) }}
}

Change the attribute displayname on the file map_dbrepos_from_source.properties

displayName={func_name}

Run the ./sync_all_dns.sh

Share

Using Libraries in IBM Connections 4.5

Share

My company has a contract with TIM. I don’t know if this company do in your country what it is doing here in Brazil.

Eight days ago my cell phone and all phones of my company stop to working. Internet and voice.

I can’t call anyone, i was on the road, in another, state without a cell phone.

The company TIM doesn’t care about our situation and told that the time to solve the problem was 5 days.

I am still without a cell phone.

If you will travel to Brazil, do not buy nothing with TIM, the worst cell phone company in the planet i think.

Share

When you are installing the FixPack for cognos 10.1 (connections 4.5 ) maybe you see the error above if you want to use the graphical interface.

Reading archive information – /cognosfp1/linuxi38664h/setup.csp. Please wait…
Warning: Missing charsets in String to FontSet conversion
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
 Major opcode of failed request:  14 (X_GetGeometry)
 Resource id in failed request:  0x2
 Serial number of failed request:  305
 Current serial number in output stream:  305

Solution: Check if you have the following libraries on Suse 11
 
# zypper search openmotif

Loading repository data…
Reading installed packages…

S | Name                 | Summary                      | Type
–+———————-+——————————+——–
i | openmotif            | Open Motif                   | package
i | openmotif-libs       | Open Motif Runtime Libraries | package
i | openmotif-libs-32bit | Open Motif Runtime Libraries | package

Share

Experience the collective expertise shared at the 2013 Conference through this complimentary series of video recordings. Let these informative recordings be your educational starting point to help you deliver the promise of an exceptional web experience.

Share

If your iNotes server is not using SSL, add the following parameter to your notes.ini file:

BrowserUseHTTPForiNotes=1

This information can be found in the Notes Domino wiki article Troubleshooting the Notes Browser Plug-in

Share

I search for information on how to update the profiles photo from an ldap server. I found several information on how to use TDI to do a sort of imports on profiles.

I wrote this article on Connections Wiki like a How To

Share

Next week,  I  will be the instructor for a class of new Domino Designers. They will start from the basics

Share

LDAP filters consist of one or more criteria. If one than more criterion exist in one filter definition, they can be concatenated by logical AND or OR operators.

AND Operation:
(& (…K1…) (…K2…)) or with more than two criteria:(&(…K1…)(…K2…)(…K3…)(…K4…))

OR Operation:
(| (…K1…)(…K2…)) or with more than two criteria:(|(…K1…)(…K2…)(…K3…)(…K4…))

Nested Operation:

Every AND/OR operation can also be understood as a single criterion:

(|(& (…K1…)(…K2…))(&(…K3…)(…K4…))) means:(K1 AND K2) OR (K3 AND K4)

The search criteria consist of a requirement for an LDAP attribute, e.g. (givenName=Sandra). Following rules should be considered:

Equality:         (attribute=abc)      , e.g. (&(objectclass=user)(displayName=Foeckeler)
Negation:         (!(attribute=abc))   , e.g. (!objectClass=group)
Presence:         (attribute=*)        , e.g. (mailNickName=*)
Absence:         (!(attribute=*))     , e.g. (!proxyAddresses=*)
Greater than:         (attribute>=abc) , e.g. (mdbStorageQuota>=100000)
Less than:         (attribute<=abc)     , e.g. (mdbStorageQuota<=100000)
Proximity:         (attribute~=abc)     , e.g. (displayName~=Foeckeler) Caution: ~= is treated as = in ADS environments !!
Wildcards:         e.g. (sn=F*) or (mail=*@cerrotorre.de) or (givenName=*Paul*)

More information

Share

I made some VM´s using Windows 2008 R2 one year ago.  I forgot the admin password.

I follow this steps to  recover:

  • Boot from the Micrsoft Windows Server 2008 DVD
  • From the Install Windows menu, click “Nextâ€�.
  • Select â€œRepair your computerâ€�
  • In the System Recovery Options, select the Operating System instance that you wish to repair and click â€œNextâ€�.
  • Select “Command Promptâ€�. The
  • At the command prompt, run the following commands:
    c:
    cd windowssystem32
    ren Utilman.exe Utilman.exe.old
    copy cmd.exe Utilman.exe
  • Reboot the server allowing Windows to load as normal
  • At the logon screen, press Windows Key + U.
  • As the command prompt, enter the following command:
    net user administrator
Share

There are two known issues related to WCM with the CF4 installation for WebSphere Portal v8.0.0.1.

1.The CF4 installation fails if the Portal URI has been changed.  
2. If you have disabled automatic syndication, it is re-enabled after CF4 installation completes.  

ssue #1 – The CF4 installation fails during the post-install-configure step “CONFIG-WP-PTF-CF” if you have changed the Portal URI to something other than the default /wps.  The failure occurs during the sub-script ‘run-wcm-admin-task’ here:

========================
run-wcm-admin-task:
     [echo] VirtualPortalContext =  , VirtualPortalHost =
     [echo] Initialized: host my.portal.com  vpContext
     [echo] To call ConfigModuleClient: host my.portal.com  vpContext
[ConfigModuleClient] Connecting to login address: customp://my.portal.com:10039/custom/wcm/login
[ConfigModuleClient] Connecting to task address: customp://my.portal.com:10039/custom/wcm/myconnect?MOD=data&processLibraries=false&taskType=import&input.dir=%2Fopt%2FIBM%2FWebSphere%2Fwp_profile%2FConfigEngine%2Fconfig%2Fwork%2Fct_import%2Fweb+content+templates&importLibrary=%24%7Bimport.library%7D with user name: uid=wpsadmin,o=defaultWIMFileBasedRealm
[ConfigModuleClient] No output will be shown while this task is running. Check the SystemOut.log for progress information.
— Exception Thrown —
/opt/IBM/WebSphere/PortalServer/wcm/prereq.wcm/config/includes/prereq.wcm_cfg.xml:3829: An exception occurred while executing the task: Header field ‘Set-Cookie’ is null. The login failed. Can not continue.
=========================

Solution – This is addressed in WCM APAR PM84880.

Issue #2 – If you have set the WCMConfigService property ‘connect.moduleconfig.syndication.inittasks’ to ‘false’ in order to disable automatic syndication, this property will be reset to ‘true’ after the CF4 installation completes.  

Note:  You can disable syndication by doing to each syndicator and disabling it there as opposed to setting this property

Solution – This is addressed in WCM APAR PM85264.  

Both PM84880 and PM85264 have been packaged into a single download.  You must apply it in conjunction with CF4 to avoid both of these issues:

– Add both CF4 and “8.0.0.1-WCM-IFPM84880-PM85264-CF04.zip” as repositories to IBM Installation Manager
– When prompted, select both for installation

This information is from TN1631948