on 11-26-2014 10:30 PM
Is there a way to remove the change action from leave overview component. Currently if we have to change or delete leave , both options are shown.the req is to restrict users from changing the leaves. Component configuration has both actions Added. Can we enhance this standard
Hi Lee,
Do you want to remove the CHANGE button for all users? If so, open application in admin mode and set visibility property of button
Refer this:
You can also use application configuration
Refer the below document:
Enhancement of WD:
You can enhance the standard component and in post-exit of wddomodifyview( ) method you can get the button and set visible property based on your requirement.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lee,
I suggest you to enhance the feeder class method GET_ACTIONS and use POST EXIT to remove the change button based on your requirement. In that method you would find the parameter table which contains all the buttons. You can remove the change button from the parameter table.
Regards,
Rama
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.