Search found 634 matches

by MarkD
Mon Jan 23, 2017 5:21 pm
Forum: Questions & Answers
Topic: VLF-ONE Inactivity log off timeout and uQueryCanClose
Replies: 2
Views: 1292

Re: VLF-ONE Inactivity log off timeout and uQueryCanClose

Your uQueryCanClose method shoudl have a boolean parameter Canbecancelled passed to it. If this is passed false then you cannot cancel the close and must always return parameter Allow (to be closed) as True You can however do things that do not require user interaction before returning control. You ...
by MarkD
Mon Dec 19, 2016 8:35 am
Forum: Questions & Answers
Topic: autoincrement primary key
Replies: 4
Views: 2569

Re: autoincrement primary key

I am a big fan of using *GUID as a unique identifying key.

http://docs.lansa.com/14/en/lansa015/in ... 4_0120.htm

The value is unique so there are no issues with duplicates, even across multiple server databases and networks.
by MarkD
Tue Dec 06, 2016 2:26 pm
Forum: Questions & Answers
Topic: VLF-ONE - Maximized command handlers
Replies: 2
Views: 1646

Re: VLF-ONE - Maximized command handlers

I am pretty sure that issue was corrected in the EPC141006 VLF version.
Could you check that you are still using the previous version EPC140006?
by MarkD
Thu Dec 01, 2016 9:48 am
Forum: Questions & Answers
Topic: Active VLF user
Replies: 8
Views: 3358

Re: Active VLF user

A very basic way to store passwords is in a data base table keyed by user profile and with an encrypted composite password key and a date of last update. The composite password key is formatted something like UserProfile=PlainTextPassword=DateUpdated (say) and then the whole thing is encrypted using...
by MarkD
Thu Dec 01, 2016 9:15 am
Forum: Questions & Answers
Topic: Active VLF user
Replies: 8
Views: 3358

Re: Active VLF user

by MarkD
Thu Dec 01, 2016 9:10 am
Forum: Questions & Answers
Topic: Active VLF user
Replies: 8
Views: 3358

Re: Active VLF user

On the client side you can access #uSystem.FrameworkLoggedOnVisibleUserProfile which is what you logon validation routine returned and #uSystem,FrameworkPlatformU which is what the actual user profile was on the sign on dialog. Sending client side values to the server carries a small risk of tamperi...
by MarkD
Thu Dec 01, 2016 8:20 am
Forum: Questions & Answers
Topic: Active VLF user
Replies: 8
Views: 3358

Re: Active VLF user

In what context? VLF-WIN, VLF-ONE or classic VLF-WEB.
by MarkD
Tue Nov 22, 2016 9:53 am
Forum: Questions & Answers
Topic: VL Web library list on IBM i
Replies: 5
Views: 2536

Re: VL Web library list on IBM i

If you are using VLF-ONE an approach to library list management is suggested here http://docs.lansa.com/14/en/lansa048/index.htm#lansa/how%20can%20i%20replace%20the%20ibm%20i%20library%20list%20used%20in.htm That approach probably applies equally to non-VLF applications. If you are using VLF-ONE the...
by MarkD
Wed Nov 16, 2016 11:48 am
Forum: Questions & Answers
Topic: VL Web error
Replies: 9
Views: 3763

Re: VL Web error

Try recompiling everything in and around the problem area + clear browser cache.
by MarkD
Fri Oct 28, 2016 10:34 am
Forum: Questions & Answers
Topic: Dynamic Drop Down
Replies: 2
Views: 1490

Re: Dynamic Drop Down

For Issue 2 you could also consider moving your filter to be on the top or bottom of the instance list - possibly rearranging the 3 drop downs to go across the screen.
by MarkD
Thu Oct 27, 2016 2:53 pm
Forum: Questions & Answers
Topic: LANSA Mobile App
Replies: 2
Views: 1341

Re: LANSA Mobile App

If you are going to run sometimes in the browser by itself, and sometimes in the LANSA Mobile container it might be useful to abstract some things like tracing slightly. The attached zip file contains a system services manager singleton named vDemo_SystemManager where typically all shared applicatio...
by MarkD
Thu Oct 27, 2016 11:22 am
Forum: Tips and Techniques
Topic: VL-Windows and VL-Web interoperation example
Replies: 0
Views: 2109

VL-Windows and VL-Web interoperation example

If you already have a VL-Windows based application you might benefit from adding adding VL-Web components to it. For example, developing a generic reporting application component might be easiest using VL-Web. Or, you may get higher levels of code reuse from embedding new VL-Web application componen...
by MarkD
Wed Oct 26, 2016 8:52 am
Forum: Questions & Answers
Topic: Windows File Details
Replies: 2
Views: 1410

Re: Windows File Details

Also the GET_DIR option of http://docs.lansa.com/14/en/lansa015/in ... ervice.htm can return file size and date details.
by MarkD
Mon Oct 24, 2016 4:24 pm
Forum: Questions & Answers
Topic: VLF One Filter
Replies: 4
Views: 1831

Re: VLF One Filter

Assuming that table SEARCH is defined on your PC (localhost) it might be simpler to debug your SELECT loop using a Windows form, instead of a web page and a server module. For example, there is a normally a shipped demonstration table named PSLMST, so by compiling this windows form I can more easily...
by MarkD
Fri Oct 21, 2016 9:03 am
Forum: Questions & Answers
Topic: VLF One Filter
Replies: 4
Views: 1831

Re: VLF One Filter

If I did misunderstand your question could you post your filter and server module code + some more details on what you are trying to achieve please?
by MarkD
Fri Oct 21, 2016 8:40 am
Forum: Questions & Answers
Topic: VLF One Filter
Replies: 4
Views: 1831

Re: VLF One Filter

Please ignore this if I misunderstood your question .................. I am assuming that you have a working filter and you want to now add some new searchable fields to it by changing the code. For example, if you had a working filter that does a customer Name search and you wanted to add a new typ...
by MarkD
Fri Oct 21, 2016 7:46 am
Forum: Questions & Answers
Topic: Showing the TradeMark symbol
Replies: 5
Views: 1889

Re: Showing the TradeMark symbol

As in http://www.fileformat.info/info/unicode ... /index.htm ?

Try #MyLabel := (8482).AsUnicodeString
by MarkD
Thu Oct 20, 2016 4:57 pm
Forum: Questions & Answers
Topic: Single standalone webpage on System i
Replies: 7
Views: 2464

Re: Single standalone webpage on System i

Speaking of SOAP reminded of this interesting 5 year old take on its status - http://readwrite.com/2011/05/26/soap-is ... ts-undead/