VLF-One Reusable Code
VLF-One Reusable Code
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?
-
davidbalansa
- Posts: 92
- Joined: Mon Feb 01, 2016 10:08 am
Re: VLF-One Reusable Code
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.
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.