customizable VLF-ONE Instance List Toolbar

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
dhunt
Posts: 33
Joined: Fri Feb 08, 2019 3:06 am

customizable VLF-ONE Instance List Toolbar

Post by dhunt » Sat Oct 12, 2019 8:05 am

Is there a way to only show business object commands in the tool bar with Withinstancereferencekey("")? What can go in it? also what is the purpose of Ignoreenablement and can the avlistmanager in this instance ever be not null?

Code: Select all

If (#AVLISTMANAGER.CurrentInstance *IsNot *null)
#AVLISTMANAGER.CurrentInstance.avBusinessObjectReference.zInt_ShowCommandHandlerChoiceMenu Usebusypanel(#ASSOCIATEDVF_UM010O) Withinstancereferencekey("") Ignoreenablement(false)
Else
#ASSOCIATEDVF_FR003O.zInt_ShowCommandHandlerChoiceMenu Usebusypanel(#ASSOCIATEDVF_UM010O) Withinstancereferencekey("") Ignoreenablement(true)
Endif
pic1.jpg
pic1.jpg (44.74 KiB) Viewed 74 times
Also I am having issues with peer options. the Peer items have commands enabled but the option that shows does not. Is that an issue?
pic3.jpg
pic3.jpg (13.38 KiB) Viewed 74 times
This makes the 3 dots not work.
pic4.jpg
pic4.jpg (27 KiB) Viewed 74 times

dhunt
Posts: 33
Joined: Fri Feb 08, 2019 3:06 am

Re: customizable VLF-ONE Instance List Toolbar

Post by dhunt » Tue Oct 15, 2019 7:15 am

What also determines if its enabled or not? All of the options from the first picture are in the command enabled section in the framework but only some are business object commands.

Post Reply