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

Disable listviewaction button in backoffice based on user groups.

Former Member
0 Kudos
637

Hello Experts,

I have a requirement for bulk order status update in Hybris backoffice, so I created a listview action button UPLOAD (by extending DefaultActionRenderer) to achieve this task. But another requirement is : UPLOAD button should be enabled/visible only to specific user groups.

Can you please help me, how to put user group restriction in UPLOAD button.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Disable listviewaction button in backoffice based on user groups.

Unable to disable listviewAction, Can you please help me regarding this

     <y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris">
         <y:group qualifier="common">
             <y:label>actiongroup.common</y:label>
             <y:action action-id="com.kb.actions.myaction" property="exportColumnsAndData" />
             
         
         </y:group>
     </y:actions>
 </context>
former_member625836
Active Contributor
0 Kudos

Hi ,

Please use configuration context filtering by principal dimension. You can find more in this document and all subsequent.

Cheers, Jacek