Some of our customers are using the HR module and we would like to convert these to User Management.
However, there are two major show stoppers...
1) It's not possible to create and display custom group fields in User Management. Will custom group fields be added in a future version?
2) User management has "Hierarchy" settings for list view, but it just renders all groups in a single loop. There is no inner loops or parentid that indicates any relations between the groups. How can we display a hierarchial tree structure of groups?
Developer forum
E-mail notifications
User Management vs HR
Posted on 08/10/2010 13:03:33
Replies
Nicolai Høeg Pedersen
Posted on 08/10/2010 14:43:58
Custom group fields does not exist in UM - it might come, but is not planned.
Hierarchy you can do already:
Use Groups instead of allGroups loop
<!-- @LoopStart(Groups)-->
<!-- @HeaderStart-->
<h2>
<!-- @Translate(listuserheader, "Groups")-->
</h2>
<ul>
<!-- @HeaderEnd-->
<li>
<a href="<!-- @UserManagement:Group.DetailUrl-->"><!-- @UserManagement:Group.Name--></a>
</li>
<!-- @FooterStart-->
</ul>
<!-- @FooterEnd-->
<!-- @LoopEnd(Groups)-->
Hierarchy you can do already:
Use Groups instead of allGroups loop
<!-- @LoopStart(Groups)-->
<!-- @HeaderStart-->
<h2>
<!-- @Translate(listuserheader, "Groups")-->
</h2>
<ul>
<!-- @HeaderEnd-->
<li>
<a href="<!-- @UserManagement:Group.DetailUrl-->"><!-- @UserManagement:Group.Name--></a>
</li>
<!-- @FooterStart-->
</ul>
<!-- @FooterEnd-->
<!-- @LoopEnd(Groups)-->
Posted on 09/10/2010 15:18:23
Sorry, but I still can't get the results I need...
I have selected one group and would like to display this and all subgroups (3 levels) in a tree structure on the same page - something like this: http://www.startvaekst.dk/hierarkisk-organisationsstruktur
The list view is configured to display 4 levels of groups.
Using an XSLT template with availableloops set to * and requesting the page with savetemplatexml=true gives me this...
Groups loop contains only the selected group and no subgroups.
AllGroups loop contains all groups (surprise), but without any values indicating how the groups are related.
I tried the same using an HTML template, but that didn't work either.
And... there are no template extenders or notification subscribers in User Management we can use to manipulate the output. Please, please add these soon :)
DW version: 19.1.1.0
I have selected one group and would like to display this and all subgroups (3 levels) in a tree structure on the same page - something like this: http://www.startvaekst.dk/hierarkisk-organisationsstruktur
The list view is configured to display 4 levels of groups.
Using an XSLT template with availableloops set to * and requesting the page with savetemplatexml=true gives me this...
Groups loop contains only the selected group and no subgroups.
AllGroups loop contains all groups (surprise), but without any values indicating how the groups are related.
I tried the same using an HTML template, but that didn't work either.
And... there are no template extenders or notification subscribers in User Management we can use to manipulate the output. Please, please add these soon :)
DW version: 19.1.1.0
Nicolai Høeg Pedersen
Posted on 11/10/2010 09:23:47
I've added ParentID from the next service release.
Inside the Groups loop you have a subgroups loop. But it requires you to click the group id before the tree expands.
With the new ParentID as a template tag you would be able to do a tree useing allGroups loop.
Will be out with 7.1.2 (19.1.2.0)
Inside the Groups loop you have a subgroups loop. But it requires you to click the group id before the tree expands.
With the new ParentID as a template tag you would be able to do a tree useing allGroups loop.
Will be out with 7.1.2 (19.1.2.0)
Posted on 11/10/2010 11:04:57
Great! Thanks