One of my colleagues is seeking to have the Lotus Connections Profiles Person Card appear within Lotus Mashups, so that all references to a user's name/ID are Profiles-sensitive.
This is something I've been working on with Portal etc. as per my previous posts, and it's pretty much implicit via the Semantic Tagging service that WebSphere Portal 6.1.5 etc. include.
However, I wanted to do this outside of Portal, so dug through my bookmarks ( held in Lotus Connections Bookmarks, of course, and browsable via the rather nice little Foxear plugin that we have inside IBM ), and found Luis Benitez' post here: -
Are you ready for this? Lotus Connections person card in Sharepoint
which then took me on a trawl through developerWorks to find Luis' developerWorks article from 2008: -
Integrating IBM Lotus Connections with Microsoft technologies
from which I harvested this code: -
<html>
<head>
<script type="text/javascript" src="http://lc25.uk.ibm.com:9083/profiles/ibm_semanticTagServlet/javascript/semanticTagService.js"></script>
<link rel="stylesheet" href="http://lc25.uk.ibm.com:9083/profiles/css/styles.css" type="text/css"></script>
</head>
<body>
<div id="personCard" class="vcard">
<a href="http://lc25.uk.ibm.com:9083/profiles/html/simpleSearch.do?searchFor=padmin@uk.ibm.com&searchBy=email" class="fn url person">Portal Admin</a>
<span class="email" style="display:none;">padmin@uk.ibm.com</span>
</div>
</body>
</html>
Now this only works if you're prepared to hard code the user's email address in your web page, which is unlikely, so I'm working on the assumption that we can use a JSP and grab the logged-in user's email address and wrap the JavaScript around that.
More to follow, but many thanks to Luis and the team for his help ...
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Reminder - installing podman and skopeo on Ubuntu 22.04
This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman and skopeo on an Ubuntu box: - lsb_rel...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
2 comments:
You are welcome!!! Yes, now you need to figure out how to dynamically plug in the email address (probably through some JSP call.) Let us know how it goes :D
Note that I've since changed the CSS URL from: -
http://lc25.uk.ibm.com:9083/profiles/css/styles.css
to: -
http://lc25.uk.ibm.com:9083/profiles/help/css/styles.css
Post a Comment