cancel
Showing results for 
Search instead for 
Did you mean: 

Admin access in NAKISA 4.0

IG1
Active Participant
0 Kudos

Hello Team,

I am using NAKISA 4.0

I am using the feature that every employee should see only his/her org unit and org units which reports to his org unit by choosing USER RECORD and ORGUNIT ID in general settings of Org Chart.

Client wants that someone from the team should have access to all the Org chart structure of the company.

Is it possible in NAKISA we can give such access to one person who can view the complete Org Structure.

Please guide.

Thanks

Ishaan

Accepted Solutions (1)

Accepted Solutions (1)

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

This is possible, but it's not so easy. You would need to create a new org chart (based on the existing orgchart) and have a root ID instead of User Record. You should then secure this org chart and add it to the a security role that the user has (either an existing role or a new role).

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke ,

Thanks, could you please explain me some steps to do the same, If possible ?

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

You need to make a copy of OrgUnit.xml in the orgchartconfiguration folder in AppResources. Then add your new orgchart in orgchart.xml in the moduleconfiguration folder. Then you will see it in the AdminConsole and you can make your root object setting. Please note that this orgchart will share the hierarchies and views of the other orgchart so changes made in one will reflect in the other. Make sure you make all changes within the .delta folder (create new folders where they don't exist).

You can secure the orgchart in the Security Settings part of the AdminConsole. See section 4 of the the Admin Guide for more details.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

When i make changes to the build and try to upload it again after ZIPPING it. I get below error:

Import Failed: The selected import file is based on .system


Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

What is the structure of your ZIP file? Inside should be a folder (the name is irrelevant) and inside this should be the .delta, BuildInfo.xml file and MasterBuild.sys.

Best regards,

Luke

StephenBurr
Active Contributor
IG1
Active Participant
0 Kudos

Hi Luke,

I made a copy of Orgunit.xml.

But i don't have folder named moduleconfiguration in my build.

Thanks Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Please read my post where it says "create new folders where they don't exist"

Thanks,

Luke

IG1
Active Participant
0 Kudos

Thanks Luke,

So i will create a new folder in APPRESOURCE folder named moduleconfiguration and in this folder i need to create a orgchart.xml file.

(Then add your new orgchart in orgchart.xml.....)

What would be content of orgchart.xml? will it be blank file ?

Also, copy of orgunit.xml needs to be created in orgchartconfiguration folder.

please let me know , if i am correct ?

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

You need to copy the standard file and add some new code to it. You can use code that is already in the file.

Ye,s copy orgunit.xml in that folder and change the name. You need to put the name into orgchart.xml in moduleconfiguration.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Thanks for help.

I got the point that i can copy the ORGUNIT.XML and change the name.

Now i need to give this new org unit name to ORGCHART.XML file.

My concern here is that, i didn't had any orgchart.xml earlier in build folder. I have created a new one.

i don't have any idea what kind of coding i am supposed to do in this file.

could you please share some file , if you have ?

Please guide.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

orgchart.xml definitely exists in moduleconfiguration folder and you should not create your own, since this file is very important in the operation of OrgChart. You need to copy the original and then add your new org chart within the <orgcharts> tags.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Thanks Luke. it worked for me .

for original i use to see position & staffing analysis and demographic details tab for org units.

but for the 2nd org structure these two tabs are not visible and also chart book functionality is not there.

I have added all the secured items to the role already.

Kindly guide.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Once you have secured the items you need to set them as permitted for the existing roles. Although the object names are the same, the Org Chart name is different and so they need to be re-added to each role once they have been secured.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Yes correct!  I did the same.

When i make these tabs secured for one org chart, for the new org chart automatically these tabs gets clicked for secured. (ADD?REMOVE SECURE ITEMS)

for role Z_ADMIN, i have added all secured items to this roles, still i don't see these two tabs.

When i choose role_assistant, then i used to see these two tabs for original org chart, for new org chart again i don;t see these two tabs.

Please find screenshot for reference:

Thanks

Ishaan

IG1
Active Participant
0 Kudos

Hi Luke,

Attaching the roles XML .

Below is the content:

<!--

 OU details - Analytics Tabs 

-->  - <!--

 siva, No link details used in sap_live_rfc <element> <type>DetailsSection</type> <objectname>SAPOrgUnitLinkDetailsConfiguration</objectname> <name>96307F95-FDE4-3A5D-C2F1-839F34DFC195</name> </element> <element> <type>DetailsSection</type> <objectname>SAPOrgUnitLinkDetailsConfiguration</objectname> <name>5A1EF5E6-8E2A-6039-9656-2891B9F72124</name> </element> 

-->

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

It seems that your role is missing this code, which control the analytics tabs:

<element>

  <type>DetailsSection</type>

  <objectname>OrgUnitDetail</objectname>

  <name>96307F95-FDE4-3A5D-C2F1-839F34DFC195</name>

</element>

<element>

  <type>DetailsSection</type>

  <objectname>OrgUnitDetail</objectname>

  <name>5A1EF5E6-8E2A-6039-9656-2891B9F72124</name>

</element>

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Thanks Luke for all your help.

I solved my issue.

First i made static org unit root id in current build .

Now i have copied the orgunit.xml and provided new org unit name in orgchart.xml.

After which i have uploaded the build. and changed original org chart general settings to USER RECORD & ORGUNIT ID.

Its working fine now.

Thanks a lot.

Thanks.

Ishaam

IG1
Active Participant
0 Kudos

Hello Team,

One more concern here.

I am getting option for chart book for the original org cart.

but the same is not available for new org unit created.

I am getting two chart book options in secured items. I have made both of them unsecured , even then for 2nd org chart i am not getting chart book option.

Do i need to enable chart book for second org chart from some setting ?

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Each ChartBook configuration is for one OrgChart. You'll need to copy the standard (OrgUnit.xml) in tocconfiguration folder and replace the existing OrgChart's name (OrgUnit) with your new OrgChart's name.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

I don't have any folder named tocconfiguration.

Tough i have toc.xml file in moduleconfiguration folder.

I have added new created orgunit data to it.

- <module type="toc">

<caption />

- <tocs>

- <toc default="true" enable="true" secure="true">

<configuration>OrgUnit</configuration>

<caption key="07216aad6e904b35b5afd5ea9a8dd929" />

</toc>

- <toc default="true" enable="true" secure="true">

<configuration>OrgUnit_new</configuration>

<caption key="07216aad6e904b35b5afd5ea9a8dd929" />

</toc>

- <toc default="true" enable="true">

<configuration>OrgUnitEmployee</configuration>

<caption key="41614b9736dc4086b42f81bd3ff566e4" />

</toc>

- <toc default="true" enable="true" secure="true">

<configuration>Position</configuration>

<caption key="fe527123de964a0fa50b6a95b209d8a6" />

</toc>

</tocs>

</module>

I see a new chartbook in admin console. but no data is there for the same.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

It exists outside of the .delta folder, so copy it from outside the .delta folder into the .delta folder.

Thanks,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

I checked it, but it doesn't exists anywhere in my build download.

do i need to enable something in admin console and then download build so that this folder comes in downloaded build folder.

is it possible to create this folder and XML files manually ?

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

This is correct. The file must be taken from the folders outside of the build. I checked in my OrgChart 4.0 application and I see the folder and the file. And if you have seen the configuration in the AdminConsole then the file must exist, since it reads the xml file.

You cannot download an entire build from the AdminConsole, you can only download your changes (the .delta folder). You need to get access to the file system to find the file.

I absolutely do not recommend creating the file manually.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Thanks for all your support.

I have downloaded tocconfiguration folder as add-on from export configuration in application wide settings and made the changes as mentioned above.

It worked.

Thanks a lot again for all you help

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Good news!

I forgot about that feature

Answers (0)