Cireson Partners, Customers and Community members share your customizations and examples here to help benefit the community as a whole to earn Kudos and badges.


All files and projects located here are provided and come "as-is" and without any warranty or support. Use at your own risk. Your use of Community Uploads is subject to our Terms of Use.

Cireson does not and will not support or maintain these enhancements, extensions, and scripts.

For Team Cireson uploads click here.

Display Customer Information and image from EWS below User Name

Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭
This is a Modified version of a file I got from @Adrian_Paech (he just gave the ok to upload it :))

Basically it displays information below the Affected User on both Incidents and Service Requests. it can be modified to work with any other user pickers added to a form as well (eg as shown in the image below we have a Primary contact that this also shows below when the prepHelpBlock is called for it as well.

just include in your custom.js, and in the attached file search for "EWSServerName" and update the variable with the address for your ews server (do not include the https:// or anything after the domain name)

it can be modified easily to show other information or remove what it currently shows


  • Silas_SulserSilas_Sulser Customer Advanced IT Monkey ✭✭✭

    Hey Jeff, many many thanks for sharing that great solution, it works like a charm!

     One strange thing is remaining in our environment: to get the EWS photo it asks for credentials like

    As soon as the credentials are entered, everything works fine.

    Is that a federation problem?

    Thanks and best regards


  • Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭
    @Silas_Sulser Not sure why you are being asked for the logon for EWS, we are running it here and it only fails if they have not restarted their pc for a week or more, but it does not ask for logon then, just rejects anonymous logons.

    May be worth talking to your exchange expert on that one
  • Thomas_GahleitnerThomas_Gahleitner Customer IT Monkey ✭

    @Jeff_Lang Thank you for sharing! :) .. just a side note - your email adress is still written in the cc-field.

    You may get a few unintentional love letters ;-)

    $("label[for='" + userPickerId + "']").parent().on("click", "a", function(e)
       var mailLink =;
       var irTitle = (pageForm.viewModel.Title) ? encodeURIComponent(pageForm.viewModel.Title) : "";
       var emailSubject = "[" + pageForm.viewModel.Id + "] " + irTitle;
       var irDesc = (pageForm.viewModel.Description) ? encodeURIComponent(pageForm.viewModel.Description) : "";
       e.currentTarget.href = mailLink + "&[email protected]&subject=" + emailSubject;

  • Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭
    heh i missed that one, anything sent from outside will get ignored completely anyway :)

    worthwhile for anyone using this to also update that, we have that in there so that anything sent this way also gets added to the workitem in scsm
  • Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭
    heres an updated copy with that email address removed, and a new variable added called ccemail, to have it cc another email just add the email address to the variable
  • Brian_WinterBrian_Winter Customer Adept IT Monkey ✭✭
    @Silas_Sulser, we're having the same problem, just for the image.  Did you ever find a fix?
  • Karen_Bruster1Karen_Bruster1 Member IT Monkey ✭

    Slightly off topic,

    @Jeff_Lang How did you get those lovely red numbers on hour navigation bar?

  • Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭
    @Karen_Bruster1 ; that is done via the custom work item badges script uploaded by @Martin_Blomgren ; , the latest version of which can be found at
  • Roland_KindRoland_Kind Partner Advanced IT Monkey ✭✭✭


    regarding the logon window - which version of Exchange your are using ?

    (Exchange 2013 / 2016 on premise or MS Cloud Solutions ?)



  • Silas_SulserSilas_Sulser Customer Advanced IT Monkey ✭✭✭
    @Silas_Sulser, we're having the same problem, just for the image.  Did you ever find a fix?
    Hi @Brian_Winter We unfortunately didnt find any fix for that authentication problem.
    @Jeff_Lang: which authentication methods did you select for your EWS?

    This is a screenshot of our environment:

  • Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭
    @Silas_Sulser our exchange is handled by a 3rd party provider, all we do is call the URL
  • Roland_KindRoland_Kind Partner Advanced IT Monkey ✭✭✭


    for a better problem solution - it might be helpful if you press F12 (on IE or EDGE) to go into the developer view. maybe you can see some errors on the "network" window if tracing is enabled.

    This can be helpful for further analyses :-)



  • Steve_ClarkeSteve_Clarke Customer Adept IT Monkey ✭✭
    Hi All,

    This is a great script, although one thing we have noticed is that it only intermittently loads the user data. I suspect this is a timing thing. @Martin_Blomgren fixed a similar issue with a mutation observer for the badges customisation here:

    I think this script might need a similar fix in order to reliably load the user data...

  • Jeff_LandersJeff_Landers Customer IT Monkey ✭
    Jeff Lang or anyone else.  We would love to be able to recreate the layout of the landing page for the DPTI portal.  We have a Cireson consultant helping us but it would take a lot of time/effort to recreate that beautiful page.  Is that css code available?  Jeff Landers
  • Michael_McAllisterMichael_McAllister Customer IT Monkey ✭
    @Jeff_Landers We did something similar here, though not sure if it's the same thing it allows us to put an image in the top left corner. Just put the code below into your 'custom.css' located in \inetpub\CiresonPortal\CustomSpace.

    We just put it in a folder called Logo inside the customspace. It must be in a location accessible to everyone from a browser. We had to mess around with the spacing to get it quite right. Feel free to try different settings, but this worked best for us and allowed us to still have the text in addition to the picture (though my OCD still thinks it looks off).

    .headerContent { 
     background: url("/CustomSpace/Logo/**IMAGENAME**") no-repeat 0 0;
     background-size: 75px;
     padding-left: 75px;

Sign In or Register to comment.