Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Presence Indicators for same person multiple times in a list

$
0
0

I am working with an xml stream and xsl using a third party web part, Lighning Conductor.

When pulling information from a "Person" field, I get the user's last name, first name.

I can use that field in an IMNRC request and I get the presence information for the user.

I have tried creating the id for the image a couple of different ways, but finally settled on using the person as the id.

In my list, I may have the person a couple of different times and I wanted their presence information to display multiple times.  (It doesn't seem like I can do that).

I've tried using a unique ID for each row of data and that doesn't seem to make a difference.

I end up with the jelly bean displaying properly for one of the occurances, but not all (in any other occurance, it displays as grey), but when I hover, I get the correct information and an updated jelly bean in the hover box.

Here is the code I'm using to display the presence indicator:

            <img width="12" height="12" onload="IMNRC('{$Employee}');"
                 alt="UserPresence" src="/_layouts/images/imnhdr.gif" border="0" complete="complete"
                 Sortable="1" valign="middle" id="{$Employee}"/>
 

I believe the person's last mention on the page will display the correct jelly bean, all others are grey.

(grey) Wilson, Bob

(red) Kelly, Mary

(green) Wilson, Bob

(yellow) Webb, Jack

Does anyone have some insight into how I can get this to work?  I cannot find any official documentation on the IMNRC.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>