cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Where can I find OOTB perspective names (id)?

0 Likes
338

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>


Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Likes

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

0 Likes

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.

Answers (0)