Filtering Report in Analytic Designer according to Appworks login Session.

Aboulgheit_Aly
edited February 11, 2022 in Analytics #1

Hello,

I've integrated the RSSE Soap Service in the Ihub and it can Login Successfully using the users in the OTDS. What i'm trying to achieve is to filter a report using the user who logged in.

Note that I'm using Appworks version 16.5, and Analytic Designer, Ihub and system console version 16.4.

Thank you

Comments

  • jfranken
    edited February 19, 2019 #2

    I haven't tested with the setup you are using, but normally you can get the username of the person running a report via:

    reportContext.getAppContext().get("ServerUserName");

    Warning No formatter is installed for the format ipb
  • Hello Jeff,

    Thank you very much for your input, worked like a charm.

    For further explanation if anyone pursuing the same situation. I have added the reportContext.getAppContext().get("ServerUserName"); in a global variable in the Analytic Designer and it detected the user logging into the IHub, and therefore the user logged in Appworks by implementing the RSSE Soap Service.