Search found 606 matches

by MarkD
Thu Jun 27, 2019 9:15 am
Forum: Questions & Answers
Topic: System Default Images
Replies: 7
Views: 261

Re: System Default Images

Yes, As at EPC142057 level all VLF-ONE all theme objects, whether shipped, or created as custom, start with this base set of symbolic image names: If (#uSystem.UIMaterialDesign) #COM_OWNER.AddImageName Usesymbolicname(CLOSE) Actualimagename("close") Actualimagesource(G) #COM_OWNER.AddImageName Usesy...
by MarkD
Wed Jun 26, 2019 10:40 am
Forum: Questions & Answers
Topic: Adding Multi Factor Authentication to VLF-ONE
Replies: 8
Views: 315

Re: Adding Multi Factor Authentication to VLF-ONE

Some other things that might be worth consideration: --> Something like Signal Event(LogOnAttemptRequested) Platformu("<<TWOFACTOREXTERNAL>>") Platformp("<<NONE>>") could be used to let your server side validator know that it should be looking for the encrypted token on the URL and not validating th...
by MarkD
Wed Jun 26, 2019 10:25 am
Forum: Tips and Techniques
Topic: Logging onto VLF-ONE without entering a user and password
Replies: 11
Views: 1821

Re: Logging onto VLF-ONE without entering a user and password

Here is the latest version of the preceding logic: Begin_Com Role(*EXTENDS #VF_AC026O) Define_Com Class(#PRIM_TIMR) Name(#LogonShortDelayTimer) Interval(1) Startup(Manual) * ------------------------------------------------------------ Evtroutine Handling(#LogonShortDelayTimer.Tick) #LogonShortDelayT...
by MarkD
Wed Jun 26, 2019 10:25 am
Forum: Questions & Answers
Topic: Adding Multi Factor Authentication to VLF-ONE
Replies: 8
Views: 315

Re: Adding Multi Factor Authentication to VLF-ONE

Sorry, that version was quite old. Try this one instead: Begin_Com Role(*EXTENDS #VF_AC026O) Define_Com Class(#PRIM_TIMR) Name(#LogonShortDelayTimer) Interval(1) Startup(Manual) * ------------------------------------------------------------ Evtroutine Handling(#LogonShortDelayTimer.Tick) #LogonShort...
by MarkD
Wed Jun 26, 2019 9:29 am
Forum: Questions & Answers
Topic: Trouble with persistant virtual clipboard manager
Replies: 9
Views: 308

Re: Trouble with persistant virtual clipboard manager

I think the problem is caused by these 2 lines in your entry point form: Define_Com Class(#VF_PC002) Name(#VF_PC002) Define_Com Class(#VF_PC002) Name(#VF_PC002_1) These would instantiate two clipboard instances, which at exit are destroyed, at which time they attempt to save their content. However, ...
by MarkD
Tue Jun 25, 2019 9:30 am
Forum: Questions & Answers
Topic: Trouble with persistant virtual clipboard manager
Replies: 9
Views: 308

Re: Trouble with persistant virtual clipboard manager

Can you execute your framework application before the error occurs? i.e Does the error happen only when you exit from your framework application? I'm asking because if the error appears to happen when you are starting up you application it might indicate that you are being thrown out of the applicat...
by MarkD
Tue Jun 25, 2019 9:10 am
Forum: Questions & Answers
Topic: Adding Multi Factor Authentication to VLF-ONE
Replies: 8
Views: 315

Re: Adding Multi Factor Authentication to VLF-ONE

Try the system variable *WEBIPADDR in your server module.
I tried it yesterday on a Windows server and it seems to work okay as long as you don't use localhost in the URL.
https://docs.lansa.com/14/en/lansa015/i ... *WEBIPADDR
by MarkD
Mon Jun 24, 2019 3:46 pm
Forum: Questions & Answers
Topic: Adding Multi Factor Authentication to VLF-ONE
Replies: 8
Views: 315

Re: Adding Multi Factor Authentication to VLF-ONE

If you need more help with this please yell - it would be a very useful example to have.
by MarkD
Mon Jun 24, 2019 11:45 am
Forum: Questions & Answers
Topic: Adding Multi Factor Authentication to VLF-ONE
Replies: 8
Views: 315

Re: Adding Multi Factor Authentication to VLF-ONE

Here a suggestion for how you might approach doing this. In outline the steps are:  Do the complete login and 2 factor validation process external to your VLF-ONE application.  Have the external login process create an encrypted login ‘token’ for validated users.  Make the normal VLF-ONE dialog n...
by MarkD
Fri Jun 21, 2019 10:12 am
Forum: Questions & Answers
Topic: Trouble with persistant virtual clipboard manager
Replies: 9
Views: 308

Re: Trouble with persistant virtual clipboard manager

Also, could you post the complete code of the entry point Windows form you are using?
The one that you would have copied from shipped example forms UF_DESGN, UF_EXEC or AF_ADMIN?
by MarkD
Fri Jun 21, 2019 10:05 am
Forum: Questions & Answers
Topic: Trouble with persistant virtual clipboard manager
Replies: 9
Views: 308

Re: Trouble with persistant virtual clipboard manager

Could you post your VLF-WIN EPC number?
Use the Help -> About Framework menu options working as a developer/designer and scroll to the end.
by MarkD
Thu Jun 20, 2019 8:28 am
Forum: Questions & Answers
Topic: iPhone 7s "Zooming" Text
Replies: 9
Views: 1784

Re: iPhone 7s "Zooming" Text

What setting do you use here in your web page:
Capture.PNG
Capture.PNG (8.08 KiB) Viewed 181 times
by MarkD
Tue Jun 18, 2019 10:06 am
Forum: Questions & Answers
Topic: VLF-Win Status bar
Replies: 2
Views: 126

Re: VLF-Win Status bar

Try this in your framework’s main IIP (i.e. your version of the shipped example UF_SYSTM) in the avMAINWindowReady method:

Code: Select all

#Window.FIM.uStatusManager.uUser := *User + " - TEST"
by MarkD
Mon Jun 17, 2019 5:02 pm
Forum: Questions & Answers
Topic: Max number of files read in a folder by OV_FILE_SERVICE
Replies: 2
Views: 122

Re: Max number of files read in a folder by OV_FILE_SERVICE

Is your code fragment from an RDML or RDMLX function?

Could you post some details of the error you get?
by MarkD
Fri May 31, 2019 1:52 pm
Forum: Questions & Answers
Topic: Passing a reference to a method
Replies: 2
Views: 188

Re: Passing a reference to a method

Yes it is. e.g Mthroutine Name(SomeMethod) Define_Map For(*INPUT) Class(#SomeOtherReusablePart) Name(#SomeOtherPartwithCode) Pass(*BY_REFERENCE) #SomeOtherPartwithCode.Method1 #SomeOtherPartwithCode.Method2 Endroutine Is that what you meant? The trap is if you hang on to the reference across method ...
by MarkD
Fri May 31, 2019 12:37 pm
Forum: Questions & Answers
Topic: VLFOne - Messaging via Message File
Replies: 10
Views: 797

Re: VLFOne - Messaging via Message File

You should be able to do this right now fairly easily. Import the attached material into your partition. Compile only the I/O module for LANSA internal table LX_MSG. Then compile all the other parts. On your PC execute VL-Windows form MSG_FORM to copy all the English messages from message file DC@M0...
by MarkD
Thu May 30, 2019 2:03 pm
Forum: Questions & Answers
Topic: VLFOne - Messaging via Message File
Replies: 10
Views: 797

Re: VLFOne - Messaging via Message File

Interesting. I’d have a think about, and maybe experiment with, using a structure where you can run (reuse) code like that in server modules. There’s no problem getting overall error status and messages back to the client but associating the errors with fields on the form might be problematic. Since...
by MarkD
Wed May 29, 2019 9:22 am
Forum: Questions & Answers
Topic: VLFOne - Messaging via Message File
Replies: 10
Views: 797

Re: VLFOne - Messaging via Message File

If you have a server module call involved in this logic then it might be another simpler way to solve this. Issue the required MESSAGE operations in the server module. Then in the client VL-Web code use #avFrameworkManager.avReceiveSystemMessageQueue Requester(#Com_Owner) to receive all messages ret...
by MarkD
Mon May 27, 2019 12:02 pm
Forum: Questions & Answers
Topic: VLFOne - Messaging via Message File
Replies: 10
Views: 797

Re: VLFOne - Messaging via Message File

BTW - This is not a VLF question really, the issue and the potential solution apply to all VL-Web based application, whether they use the VLF or not.
by MarkD
Mon May 27, 2019 10:51 am
Forum: Questions & Answers
Topic: VLFOne - Messaging via Message File
Replies: 10
Views: 797

Re: VLFOne - Messaging via Message File

Thanks. Got it now. The fundamental issue is that the MESSAGE command is not supported in VL-Web code. To issue client side messages you need to use "text" instead of a message numbers and message file names. One thing to consider is that LANSA can emulate IBM i message files using a database table ...