on ‎2019 Mar 05 9:36 PM
I am trying to set a default perspective for particular user groups. I know this can be done via perspective-chooser with assigned principals and defaultPerspective. In my case I'm trying to use an existing perspective. Specifically in my case the Backoffice admin perspective. Where can I find the perspective id/name for these OOTB perspectives?
I've seen other posts with references to other perspectives such as Customer-Perspective...etc. Where are these names located or where can I see them?
<context component="perspective-chooser" principal="myCustomGroup">
<perspective-chooser>
<!-- need the perspective name -->
<defaultPerspective name=""/>
</perspective-chooser>
</context>
Request clarification before answering.
Hi,
List of perspectives are highly dependent on your installation. The easiest way to get them is to open Orchestrator, display widgets.xml and find out what are ids of widgets added to slot perspectives of backofficeMainSlot widget.
If you are looking for Administration Cockpit, then it would be hmc2.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This did work for me so Thanks! But I did find a separate issue with my configuration. If there are more than one contexts defined for the "perspective-chooser" for same principal groups but with different defaultPerspective seems that only one will take precedent. So my new context is being ignored it seems.
E.g.:
<context component="perspective-chooser" principal="myGroup" module="firstbackoffice">...</context>
<context component="perspective-chooser" principal="myGroup" module="secondbackoffice">...</context>
How can I override one with the other?
Such as have the secondbackoffice module configuration override the first. I have tried including merge-mode="replace" at the context level but I don't think this can be used here as it doesn't do anything. For now I have removed the additional contexts manually but thought there would be a way to override.
Thanks.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.