Search found 330 matches

by soa
Tue Apr 07, 2020 10:05 am
Forum: Questions & Answers
Topic: Fusioncharts & VLWEB
Replies: 2
Views: 37

Re: Fusioncharts & VLWEB

I haven't seen this but that looks suspiciously like fusioncharts to me!
by soa
Mon Apr 06, 2020 2:47 pm
Forum: Questions & Answers
Topic: Compressing Image size from File picker
Replies: 6
Views: 43

Re: Compressing Image size from File picker

With Webevent functions we use a JavaScript library from www.plupload.com which is available under an AGPL license which allows client side image resizing which obviously speeds up the uploads hugely. For passport style photos We've gone from 12-20 meg images down to < 90k which still do the job. It...
by soa
Mon Apr 06, 2020 10:01 am
Forum: Questions & Answers
Topic: Fusioncharts & VLWEB
Replies: 2
Views: 37

Fusioncharts & VLWEB

Now that Idera have acquired Fusionchart it would be absolutely fantastic if someone in LANSA could develop a widget around their charting tools. We have used FusionChart for many years and have found it capable of meeting all of our charting needs. This would be a revenue generator for Idera as we ...
by soa
Mon Apr 06, 2020 9:20 am
Forum: Questions & Answers
Topic: Compressing Image size from File picker
Replies: 6
Views: 43

Re: Compressing Image size from File picker

Sorry I misread the VLWIN as VLWEB - we've been web focused for so long windows applications never occur to me.
by soa
Mon Apr 06, 2020 9:06 am
Forum: Questions & Answers
Topic: Compressing Image size from File picker
Replies: 6
Views: 43

Re: Compressing Image size from File picker

How would rewriting the app in VLWEB improve the upload speed?
by soa
Mon Mar 30, 2020 4:24 pm
Forum: Questions & Answers
Topic: Widgets
Replies: 0
Views: 38

Widgets

Has anyone out there developed any widgets they'd like to share?
by soa
Fri Mar 27, 2020 4:49 pm
Forum: Questions & Answers
Topic: Object won't compile
Replies: 12
Views: 260

Re: Object won't compile

Just to get a start - you can always try logging into the IDE as the partition security officer which will ignore such considerations.
by soa
Thu Mar 19, 2020 6:08 pm
Forum: Questions & Answers
Topic: Is Select faster than Selectlist?
Replies: 2
Views: 146

Re: Is Select faster than Selectlist?

You don't mention whether this is RDML or RDMLX. If it is RDML then the working list is an RPG multiple occurrence data structure which is basically a big dumb chunk of memory in which case I would expect it to very fast indeed (RPG had to be fast on ancient slow machines so in the 21st Century it's...
by soa
Wed Mar 18, 2020 9:43 am
Forum: Questions & Answers
Topic: Reading a large set of JSON data
Replies: 3
Views: 249

Re: Reading a large set of JSON data

My Mistake.Try Define_Com Class(#PRIM_JSON.Document) Name(#lDocument) Define_Com Class(#PRIM_DC.UnicodeString) Name(#UniCodeString) #UniCodeString := #Request.Response.AsString #lDocument.LoadFromString( #UniCodeString.AsNativeString ) For Each(#Child) In(#lDocument.RootNode) #CONRSPID := #Child<'id...
by soa
Tue Mar 17, 2020 9:08 am
Forum: Questions & Answers
Topic: Reading a large set of JSON data
Replies: 3
Views: 249

Re: Reading a large set of JSON data

Use XPRIM_Jsonreader - this is a forward only json parser. It identifies the start and end of objects and arrays etcetera so you have to code to keep a track of where you are but its around 30 times faster than the other stuff. Search this forum for an example.
by soa
Wed Feb 19, 2020 10:56 am
Forum: Questions & Answers
Topic: Calling and RDMLX function in IBM and passing parameters
Replies: 2
Views: 780

Re: Calling and RDMLX function in IBM and passing parameters

UDEF is the only way I've found.

BTW you also use

LANSA REQUEST(X_RUN) PARTITION('DEX') PROCESS(ORDERX) FUNCTION(CALC) X_RUNADPRM('PRTR=*PATH')

and X_RUNADPRM invoke the debugger thus

X_RUNADPRM('dbug=y dbht=myidepc:51234')
by soa
Fri Jan 24, 2020 3:45 pm
Forum: Questions & Answers
Topic: Tabs
Replies: 10
Views: 680

Re: Tabs

So the MD Tab control just provides the bit at the top but an old school tab control is used to provide the tabsheets. I've just tried it and it works but I would never have guessed that!

Thanks.
by soa
Wed Jan 22, 2020 9:39 am
Forum: Questions & Answers
Topic: Tabs
Replies: 10
Views: 680

Re: Tabs

James I've posted earlier about MD Tabs https://forum.developer.lansa.com/viewtopic.php?f=3&t=2207&p=6051&hilit=tabs#p6051 They do not seem to be intuitively working from the IDE (i.e. drag and drop a tabsheet on the surface, then drop one or more sheets on to it which then act like standard panels)...
by soa
Tue Dec 03, 2019 8:30 am
Forum: Questions & Answers
Topic: Not really a question - PWAs
Replies: 2
Views: 315

Re: Not really a question - PWAs

Looking forward to whatever comes next!
by soa
Mon Dec 02, 2019 11:52 am
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 291

Re: Reading json in VL Web

Worked out of the box, exactly what I wanted. Thanks Danny. I'll share this with the team.
by soa
Fri Nov 29, 2019 4:40 pm
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 291

Re: Reading json in VL Web

Big help Danny, thanks. Can you point me in the direction of some examples of use I need to extract values from a json string like the following. { "eformlist":[ { "Type":"SHWEX", "Code":"ONSTG", "EFID":"47", "EFIID":"4707" }, { "Type":"SHWEX", "Code":"ONSTI", "EFID":"48", "EFIID":"566" } ] }
by soa
Fri Nov 29, 2019 3:46 pm
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 291

Reading json in VL Web

I need to read a json object in a VLWEB application.

XPRIM_RandomAccessJsonReader is not available on the web

This forum makes mention of #PRIM_JsonReader as native VLWEB component but my IDE tells me it can't be found.

How should I proceed?
by soa
Wed Nov 27, 2019 3:45 pm
Forum: Questions & Answers
Topic: Not really a question - PWAs
Replies: 2
Views: 315

Not really a question - PWAs

I've been talking up PWAs as the future of VLWEB for a while now and I noticed today that there has been a lot of activity in this area. Although Google/Chrome are the prime drivers in this area Microsoft have had a recent burst of activity. https://www.thurrott.com/cloud/microsoft-consumer-services...
by soa
Mon Nov 18, 2019 11:44 am
Forum: Questions & Answers
Topic: GoogleMaps
Replies: 2
Views: 254

Re: GoogleMaps

Thanks James
by soa
Thu Nov 14, 2019 5:56 pm
Forum: Questions & Answers
Topic: GoogleMaps
Replies: 2
Views: 254

GoogleMaps

We use a LongRange Map component which simply requires to set Street Area Country Locality properties to display a map of a location. Moving this app to VLWEB I find there is no equivalent component. A sample application uses a widget over google maps but this seems to require you to know the coordi...