Search found 339 matches

by soa
Wed Jul 01, 2020 3:29 pm
Forum: Questions & Answers
Topic: How to reduce the size of the picture?
Replies: 1
Views: 343

Re: How to reduce the size of the picture?

This is something that I would also like to see. It is certainly possible in there are javascript libraries which will do this on the client side (eg https://www.plupload.com/). It would be a significant improvement to the product and shouldn't be a big deal to the right JavaScript expert. Failing t...
by soa
Fri Jun 26, 2020 4:21 pm
Forum: Questions & Answers
Topic: BubbleCharts
Replies: 3
Views: 476

Re: BubbleCharts

Found documentation and a good example in the end. Alas I also found that there is a bug in the implementation that mangles the mouse-over tooltip values if your chart uses categories for groups of values. This is disappointing because it makes this much vaunted new tool useless to me for now. Appar...
by soa
Wed Jun 24, 2020 4:42 pm
Forum: Questions & Answers
Topic: BubbleCharts
Replies: 3
Views: 476

Re: BubbleCharts

My apologies I've found some documentation but please share if you've had an experience.
by soa
Wed Jun 24, 2020 4:38 pm
Forum: Questions & Answers
Topic: BubbleCharts
Replies: 3
Views: 476

BubbleCharts

Has anyone played with LANSA V15 new Chart Controls. I'm interested in the Bubble Charts but there doesn't appear to be any documentation or sample code. I want to simple chart things like x and y captions and set minimum and maximum values for the axes but I can't find any properties that relate. A...
by soa
Wed Jun 03, 2020 2:52 pm
Forum: Questions & Answers
Topic: Add Boolean Field with Default True to LANSA File
Replies: 5
Views: 756

Re: Add Boolean Field with Default True to LANSA File

To me this is quite clearly a defect and should be reported as such.
by soa
Mon May 25, 2020 8:45 am
Forum: Questions & Answers
Topic: select from unknown file
Replies: 2
Views: 511

Re: select from unknown file

Use the ACCESS_FILE BIF or SELECT_SQL with a USING parameter.
by soa
Thu May 21, 2020 8:59 am
Forum: Questions & Answers
Topic: Integrator PDFSpoolFileService - Image Size
Replies: 2
Views: 2594

Re: Integrator PDFSpoolFileService - Image Size

The PDF Document Service allows PDFs to be manipulated.

You would need to create a PDF from PDFSpoolFileService the use DDF Document Service to create a new PDF enclosing the initial to which you should be able to add an overlayed image/watermark which can be defined as an image in the xml file.
by soa
Fri May 15, 2020 8:42 am
Forum: Questions & Answers
Topic: Change content-type for WAM
Replies: 7
Views: 1698

Re: Change content-type for WAM

I think you can create a temporary ifs file with the encoding you want and write your content to it then use that file as the http response. Then the temporary file can be automatically deleted.
by soa
Wed Apr 22, 2020 8:56 am
Forum: Questions & Answers
Topic: Make web page use whole browser window
Replies: 5
Views: 1941

Re: Make web page use whole browser window

A web page will always fill the entire browser. The question is then the content. All my VLWEB apps use a View Container - which fills the whole page and all associated View fill the entire client area if the Container - I don't know how to make them NOT fit?
by soa
Tue Apr 07, 2020 10:05 am
Forum: Questions & Answers
Topic: Fusioncharts & VLWEB
Replies: 2
Views: 1389

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: 1732

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: 1389

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: 1732

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: 1732

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: 3121

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: 3062

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: 1441

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: 1840

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: 1840

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: 1650

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')