We want to rebuild our VLF_WIN application to a VLF_ONE application: Easier deployment.
In IIP UF_SYSTM we are using: avCheckAuth / avCheckInstanceAuth:
Based on the value of a field of the chosen entry in the instance-list, determine which command handlers (BO's) should be shown.
(Example: instance-list-entry "Status = 1", not yet invoiced, so invoice-BO is / should be suppressed when the entry is selected.)
What is the equivalent in VLF_ONE for avCheckAuth / avCheckInstanceAuth to suppress a BO?
avCheckAuth / avCheckInstanceAuth in VLF_ONE?
Re: avCheckAuth / avCheckInstanceAuth in VLF_ONE?
VLF-ONE have several limitations when compared to control of the application versus VLF-WIN.
https://docs.lansa.com/15/en/lansa048/i ... 8_2100.htm
That Instant Level Security Validation is only available in VLF-WIN. There is no exact equivalent.
You could make your own version of that for example passing an extra parameter in the instance list values and controlling from the command handler the action like to not show anything.
https://docs.lansa.com/15/en/lansa048/i ... 8_2100.htm
That Instant Level Security Validation is only available in VLF-WIN. There is no exact equivalent.
You could make your own version of that for example passing an extra parameter in the instance list values and controlling from the command handler the action like to not show anything.
Re: avCheckAuth / avCheckInstanceAuth in VLF_ONE?
From your requirement "Based on the value of a field of the chosen entry in the instance-list, determine which command handlers (BO's) should be shown." , subtypes may be another alternative to implement. Subtype is a property of the instance list and based on the Subtype property value, the command handlers for the Business Object can be shown or hidden.
See https://docs.lansa.com/15/en/lansa048/i ... 8_3565.htm in the VLF documentation. Subtypes are available in both VLF-Win and VLF-One
See https://docs.lansa.com/15/en/lansa048/i ... 8_3565.htm in the VLF documentation. Subtypes are available in both VLF-Win and VLF-One
Re: avCheckAuth / avCheckInstanceAuth in VLF_ONE?
Hi, thanks for the replies:
I think I'm going to explore "Subtypes" first... I hope I can squeeze it into that.
Jos
I think I'm going to explore "Subtypes" first... I hope I can squeeze it into that.
Jos