Page 1 of 1

VLF-One Reusable Code

Posted: Thu May 14, 2020 6:18 am
by mwilliams
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?

Re: VLF-One Reusable Code

Posted: Thu May 14, 2020 7:01 am
by davidbalansa
A built in mechanism is the VLFONE Custom Framework Manager.

Documentation:

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.

Documentation:

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

Hope this helps.