on 10-01-2010 6:36 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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: [|]
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.