Employee History

Hi,

i know how to see the history of an employee via web portal by accessing with the employee's manager account and clicking on the history section.

I would like to know if its possible to see the history of all users in the web portal or the manager with a chosen user.

Thank you.

Regards,

Redinaldo Hysesani

Parents
  • Former Member
    +1 Former Member over 3 years ago

    Hi,

    Well there are different approaches to that, so all I can give you are suggestions for the web portal, which is the interface I know better.  Talking 8.1.3 here, you'll need some expertise on the web portal designer. Plus, permissions are also involved. Please contact your IT support or partner if you need to make modifications.

    In Web Designer, the list of users that can be managed by the logged in user can be obtained from the configuration parameter Employees->Employees which can be edited by the current user (VI_Employee_Person_Filter). You can edit this parameter and adjust the query to your needs. That will get you the list of users that you can manage. You might need to adjust permissions if you have other customizations.

    Second, the visibility of the History tile is handled by the VI_Common_ObjectSheet_Person module in Web Designer. To be more precise, the condition that shows this History tile is:

    GetConfigParm("Common\ProcessState\PropertyLog") = "1"
    and
    from object select current isowneroradmin

    If you already can see History, I assume the first one is already set. Check your config params in Designer in any case.

    The second one (isowneroradmin) will return true if you're a manager or admin, but also,  if you did set the VI_Employee_Person_Filter that I've mentioned above accordingly.

    (isowneroradmin): 

    Exists(
    "Person",
    SqlAnd(
    SqlCompareUid("UID_Person", GetUser()),
    Format("UID_Person in (select piae.UID_Person from personinaerole piae join AERoleCollection aec on aec.UID_AERole = piae.uid_aerole where aec.UID_ParentAERole = 'QER-AEROLE-PERSONADMIN-ADMIN')")
    )
    )
    or
    exists("Person", SqlAnd(
    sqlcompareuid("uid_person", from object select current uid_person),
    getconfig("VI_Employee_Person_Filter")
    ))

    HtH!

  • Hi,

    Thank you for the explanation! All clear.

    Regards.

Reply Children
No Data