Skip to Content
author's profile photo Former Member
Former Member

OrgChart User OrgUnit root Live

Hey,

I am using STVN 2.1 OrgChart Live JAVA.

Is there any guide on how to set up the orgchart roots for each user? There are a few brief comments on the forums but no straight forward answers. I have messed around with the <rootvalue> and <defaultroot type="user"> in the AppResources file with no luck.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2010 at 10:29 PM

    Hi Wade,

    Does your client use HR OM structureal authorizations? If they do, the live solution should only show them the org structure within thier area of responsibility as long as thier Nakisa security role is assigned to thier appropriate SAP role.

    Other than that, I think the other option is to store SAP user preference in an RBDMS connected to Nakisa so the users area of responsibility org unit can be read and used during Nakisa's call to SAP to render the users Org Chart.

    thanks.

    JB

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2010 at 10:01 AM

    Hi Wade,

    OrgChart usually renders the whole chart in Live, but the data you see is restricted by structural authorizations. It is possible to setup authorizations to show just the user's area, but I've not seen it work too many times. You need to use a custom root setting based on the user's user object.

    The solution is in this thread: [Can't see the OrgStructure as a user and Position Hierarchy doesn't appear|Can't see the OrgStructure as a user and Position Hierarchy doesn't appear]

    Please note that in the second statement I missed out an apostrophe after Object_ID. Just change Object_ID to the starting point field in the user object (possibly OrgID or ParentNo).

    Good luck!

    Luke

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2010 at 08:23 PM

    Hi Wade,

    please give those config changes a try and let us know if this works for you - I was able to successfully do it.

    Make sure to back up before making these changes.

    In Appresources.xml:

    1- in data element 'UserPopulationInfo', change <field name="Org_unit"> to <field name="ID">

    2- in Orgchart name = 'SAPOrgUnitOrgChart', change <defaultroot type="root"/> to <defaultroot type="user"/>

    AND change <rootvalue><![CDATA[00000100]]></rootvalue> to <rootvalue><![CDATA[]]></rootvalue> (delete the hard-coded root number)

    In DownloadSchema.xml:

    1- in function name = 'SAP_UserPopulation', change <alias>Org_Unit</alias> to <alias>ID</alias>

    in Roles.xml:

    1- change all instances of 'Org_unit' to 'ID'

    Thank you,

    Best Regards,

    Nabil

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 19, 2011 at 05:00 PM

    Hi Wade,

    Can you confirm if your question was answered? If your query has been answered, please close the thread and mark it as answered. If the post remains open with activity for a month it will be closed automatically.

    Best regards,

    Luke Marson

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.