on ‎2018 Sep 07 2:45 PM
Hi All,
i've added perspective chooser "Commerce Search" in our custom backoffice config file in this way.
<y:perspective-chooser xmlns:y="http://www.hybris.com/cockpitng/config/perspectiveChooser">
<y:authority name="customersupportmanagerrole">
<y:perspective id="CustomerSupport-Perspective"/>
<y:perspective id="commerceSearch"/>
</y:authority>
</y:perspective-chooser>
</context>
but it has not added, please help.
Request clarification before answering.
Hi ,
You are trying to filter perspectives by BackofficeRole while you should provide an authority there (see authorities attribute of BackofficeRole type).
Also you should rather switch to configuring Perspective Containerin this case rather then Perspective Chooser as this is a recommended approach since 6.5.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<y:perspective-chooser xmlns:y="http://www.hybris.com/cockpitng/config/perspectiveChooser">
<y:authority name="customersupportmanagerrole">
<y:perspective id="CustomerSupport-Perspective"/>
<y:perspective id="commerceSearch"/>
</y:authority>
</y:perspective-chooser>
</context>
this is full code
It is still based on role - please change it to authority. You can find some information here.
| User | Count |
|---|---|
| 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.