VLF-One Reusable Code

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
Posts: 23
Joined: Sat May 28, 2016 1:45 am

VLF-One Reusable Code

Post by mwilliams » Thu May 14, 2020 6:18 am

I was wondering if there is currently a good place to put methods, event, etc that is accessible by all of the components in a vlf-one app. Things like utility methods, events, whatever that could be used by multiple components. Or is the best thing to do is create a new class and give it application scope?

Posts: 55
Joined: Mon Feb 01, 2016 10:08 am
Location: Australia

Re: VLF-One Reusable Code

Post by davidbalansa » Thu May 14, 2020 7:01 am

A built in mechanism is the VLFONE Custom Framework Manager.


https://docs.lansa.com/14/en/lansa048/i ... g%7C_____6

But as you say, you can just create a reusable part and and define it as scope *application in the required components.

Depending on your server module requirements you can also construct similar mechanisms on the server side.


https://docs.lansa.com/14/en/lansa048/i ... %7C_____13

Hope this helps.

Post Reply