7 Replies Latest reply on Jun 18, 2018 4:42 AM by john_reynolds

    Add profile field information to link

    danthomas

      Hi all

       

      I have a bit of javascript that adds a usernames username to a link as per the below.

       

      <a href="javascript:void(0);" onclick="window.open('/'+'avatar-userupload!inputImage.jspa?targetUser='+window.parent._jive_current_user.username)" + '#jive-avatar-list';>Edit Avatar</a>

       

      I'm wanting to change it to bring a different profile field in instead, in this case their address, but can't find what it's equivalent _jive.current_user identifier is. Anyone know how I'd find out?

       

      Alternatively, I know it's fieldID number, so can we use that?

       

      Thanks


      Dan