Hiding/Showing Business Object Level Command

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
caseywhite
Posts: 192
Joined: Thu May 26, 2016 1:17 am

Hiding/Showing Business Object Level Command

Post by caseywhite »

Is there a way to use #AVFRAMEWORKMANAGER.avChangeCommandState to hide a command instead of just enabling/disabling it. For example, I have an Email command but don't want the user to see it unless there are entries in the instance list. If they see it they think they can click on it.
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Hiding/Showing Business Object Level Command

Post by MarkD »

Unfortunately no, not dynamically.
You can only disable them.
caseywhite
Posts: 192
Joined: Thu May 26, 2016 1:17 am

Re: Hiding/Showing Business Object Level Command

Post by caseywhite »

Thanks.

Casey
Post Reply