Hi All,
In V14, Using filter we have created an instance list. When we select any data, it opens respective tabs if default option is set to Yes.
Filter component is developed in RDMLX but the command handlers are RAMP & Axes. In this scenario, while selecting any data in the instance list,we need to execute certain validation and check if user "#AVFRAMEWORKMANAGER.avChangeCommandState".
While building instance list though we disable tabs, when we click on data all tabs are enabled. Our disable command is overridden.
Can you please share your suggestion on regards to this.
Thanks for your help.
Thanks & Regards,
Priya
Instance list - Tab disablement
Re: Instance list - Tab disablement
Yes, selecting an instance of a business object will enable all instance level commands and it will override anything you have previously set. You can only really change the state of an instance level command after a business object instance has been selected as the current instance. My guess is that you are trying to do that in a filter. To make this work you would need to do it in the default command, which executes after the instance has been selected.
There are two other possible approaches:
Enable VLF authority and enrol your users. This allows you (or more likely an administrator user) to indicate what commands (tabs) a user can use. This seems to be exactly what you want and this is what this feature is designed to do, but you do need to set up and maintain user authorities.
Use subtypes. See the shipped example. Depending on the user’s characteristics set the subtype of the instance list entry to A, B or C (say). Then you can indicate what commands (tabs) are enabled for users that have subtypes of A, B or C.
In any context it would be hard to imagine an effective way to disable a default command. All users should always be allowed to use the default command.
There’s also change coming to how disabled subtype tabs are displayed. Currently the are visible but disabled. In the next version they will be invisible.
There are two other possible approaches:
Enable VLF authority and enrol your users. This allows you (or more likely an administrator user) to indicate what commands (tabs) a user can use. This seems to be exactly what you want and this is what this feature is designed to do, but you do need to set up and maintain user authorities.
Use subtypes. See the shipped example. Depending on the user’s characteristics set the subtype of the instance list entry to A, B or C (say). Then you can indicate what commands (tabs) are enabled for users that have subtypes of A, B or C.
In any context it would be hard to imagine an effective way to disable a default command. All users should always be allowed to use the default command.
There’s also change coming to how disabled subtype tabs are displayed. Currently the are visible but disabled. In the next version they will be invisible.
Re: Instance list - Tab disablement
Hi Mark,
Thanks for your kind help
Thanks for your kind help