on 07-28-2019 8:14 AM
Hello team,
How to disable Delete action while selecting an item from Back-office Collection(List view) browser based on selected item's attribute value. Please help me If it is possible. In case I can use my custom render, How can send disable event to Delete Action of both Collection browser and editor area?.
Hybris - 1808v.
Thanks.
Hi ,
Also property
attribute of action
element in configuration is in fact interpreted as SpEL (resolved against widget model). It mean that you can have some condition there and return null
, when button should be disabled, e.g.:
<y:action action-id="com.hybris.cockpitng.action.delete" position="20"
property="selectedObjects.isEmpty() ? null : selectedObjects"
triggerOnKeys="#del"/>
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi - I believe your requirement can be fulfilled using the Dynamic Forms functionality. Please check https://help.sap.com/viewer/5c9ea0c629214e42b727bf08800d8dfa/1905/en-US/8bb48c3e86691014ba23af134a9a... for more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
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.