How to dynamically display Logo in webportal

Hi

I would like to display the VI_Common_CompanyLogo dynamically, it should be calculated by importsource value of currently logged user.

Can anyone advise on this?

  • I have figured out this kind of solution,

    In VI_UserLogon > Container1 - product and company logo > switch1 > image2 replace URL getconfig("VI_Common_CompanyLogo") with:

    if ("TEST" = (from User select importsource where uid_person=getuser()) or "another" = (from User select importsource where uid_person=getuser())) then

    getconfig("VI_Common_CompanyLogo")

    else

    getconfig("VI_Common_CompanyLogo2")