customizable VLF-ONE Instance List Toolbar (RESOLVED)

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

customizable VLF-ONE Instance List Toolbar (RESOLVED)

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 402 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 402 times
This makes the 3 dots not work.
pic4.jpg
pic4.jpg (27 KiB) Viewed 402 times

dhunt
Posts: 35
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.

MarkD
Posts: 630
Joined: Wed Dec 02, 2015 9:56 am

Re: customizable VLF-ONE Instance List Toolbar

Post by MarkD » Fri Oct 18, 2019 2:14 pm

See new code sample sent to Patrick Fleming to pass on to you.

Post Reply