Skip to main content

Hi,

 

I am looking a way to display login user picture/images available in AD/exchange on my smartform load.

Any idea/suggestions will be highly appreciated?

 

11017iD565235B8C6BAD35.png

 

Regards,

Ram

Hi RamKumar

 

You will first need to work out how to return the URL of the image that you want to display for each user. The out of the box AD smartobject wont do this (and I don't think the Exchange smartobjects do either), so you will probably need to use or build a custom service broker. Have a look at the Dynamic Active Directory Service on the K2 Market. I don't think it will return the image property you want but it might be a good starting point.

 

Once you have a Smartobject that can return the image URL for a user, I would suggest you use a datalabel on your form/view and set its value dynamically to an image that uses the returned URL as source (e.g. <img src=" imageURL]" />). You can do this in a data transfer, or set the value using an expression.


Reply