Search found 263 matches

by soa
Fri Jun 21, 2019 9:56 am
Forum: Questions & Answers
Topic: Retrieving element name from JSON Message
Replies: 4
Views: 150

Re: Retrieving element name from JSON Message

We don't have EPC142060 installed as it is not released but in another post I saw these declarations Define_Com Class(#PRIM_JSON.Document) Name(#lDocument) Define_Com Class(#PRIM_JSON.Object) Name(#lRequestObject) Reference(*DYNAMIC) Define_Com Class(#PRIM_JSON.Member) Name(#lRequestMember) Referenc...
by soa
Mon Jun 17, 2019 4:55 pm
Forum: Questions & Answers
Topic: Max number of files read in a folder by OV_FILE_SERVICE
Replies: 2
Views: 59

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

From memory this is an RDML function which returns a working list do the maximum must be 9999.
by soa
Fri Mar 29, 2019 8:33 am
Forum: Tips and Techniques
Topic: Reading huge JSON data in web service invocation....
Replies: 3
Views: 7280

Re: Reading huge JSON data in web service invocation....

Thanks for the response. For the majority of our use cases XPRIM is the easiest way to go and we will not be making wholesale changes in this area. For those cases with large data sets the PRIM stuff is a lifesaver and has allowed me to look at different ways of doing a couple of things. So no matte...
by soa
Thu Mar 28, 2019 10:53 am
Forum: Tips and Techniques
Topic: Reading huge JSON data in web service invocation....
Replies: 3
Views: 7280

Re: Reading huge JSON data in web service invocation....

Tony As I've mentioned elsewhere in this forum the speed improvement of PRIM_JSON.Reader over XPRIM_JSON.Reader is significant to the point where for one real life use case XPRIM_JSON.Reader was practically useless. I was going to have to poll a service every two minutes and take more than two minut...
by soa
Mon Mar 25, 2019 5:31 pm
Forum: Questions & Answers
Topic: #XPRIM_JsonObject
Replies: 2
Views: 1747

Re: #XPRIM_JsonObject

See my response elsewhere in this forum. #PRIM_JSON.Reader is MUCH faster than #XPRIM_JSON.Reader
by soa
Mon Mar 25, 2019 5:29 pm
Forum: Questions & Answers
Topic: Using jsonreader with a file
Replies: 1
Views: 1534

#PRIM_JSON.Reader

Okay I've managed to get this PRIM (not XPRIM) stuff going Define_Com Class(#PRIM_IOC.FileStream) Name(#FileStream) Define_Com Class(#PRIM_IOC.StreamReader) Name(#TextReader) Stream(#FileStream) Define_Com Class(#PRIM_JSON.Reader) Name(#JsonReader) Textreader(#TextReader) You've basically got to han...
by soa
Mon Mar 25, 2019 10:10 am
Forum: Questions & Answers
Topic: Using jsonreader with a file
Replies: 1
Views: 1534

Using jsonreader with a file

Elsewhere in this forum there is a suggested way of accessing json data by saving to a temporary text file then using JSONReader. I can't work out how to access the data within the loop and I can't find any documentation. I can see the JsonReader has TokenAs... properties but I can't work out how to...
by soa
Fri Mar 22, 2019 3:59 pm
Forum: Questions & Answers
Topic: #XPRIM_JsonObject
Replies: 2
Views: 1747

#XPRIM_JsonObject

I'm calling a web service which returns an array of objects like this { "SchoolsList": [ { "Account": "f488553b-d025-dc11-803a-00118581f25d", "AccountName": "Vistara Primary School", "DECId": null, "NESAId": "77579" }, { "Account": "a2251935-80fa-da11-8d33-00118581f25d", "AccountName": "Giant Steps ...
by soa
Thu Mar 21, 2019 5:16 pm
Forum: Suggestions for Product Enhancements
Topic: IDE Enhancement Request
Replies: 0
Views: 21205

IDE Enhancement Request

The Go to Tab contains access to BIFs, Routines, I/O operations etcetera. It would be really useful to identify call, transfer and submit statements as well. I often find myself trying work out a path through various applications and using find looking for 'call' leads to lots of false positives, es...
by soa
Mon Mar 18, 2019 9:23 am
Forum: Questions & Answers
Topic: Disable Autofill function in Browser
Replies: 6
Views: 3185

Re: Disable Autofill function in Browser

You can't turn autofill of in all your clients browsers. Try the following

This will work in html but I don't know if lansa provides a way of implementing this.

<input name="userid" autocomplete="off">
by soa
Tue Mar 12, 2019 8:49 am
Forum: Questions & Answers
Topic: Heap list completed
Replies: 2
Views: 1566

Re: Heap list completed

How are you converting HTML into a PDF?
by soa
Tue Mar 05, 2019 4:15 pm
Forum: Questions & Answers
Topic: Using Exec_Os400 command in V13
Replies: 14
Views: 6154

Re: Using Exec_Os400 command in V13

If you can't call it from the WAM you could probably put the Exec_OS400 in an RDML function and then call that.
by soa
Mon Feb 18, 2019 4:17 pm
Forum: Questions & Answers
Topic: Debug an RDMLX Trigger
Replies: 2
Views: 1877

Re: Debug an RDMLX Trigger

Thanks for the response Mark. I'm trying to do this from a green screen function.
by soa
Mon Feb 18, 2019 12:18 pm
Forum: Questions & Answers
Topic: Debug an RDMLX Trigger
Replies: 2
Views: 1877

Debug an RDMLX Trigger

I need to debug a trigger. This is straightforward with RDML I just press F10 but I can't work out how I do this for RDMLX. Is this possible?
by soa
Fri Nov 09, 2018 10:25 am
Forum: Questions & Answers
Topic: XPRIM_JSON
Replies: 2
Views: 1351

Re: XPRIM_JSON

Thanks for the prompt response, Tony.
by soa
Fri Nov 09, 2018 10:06 am
Forum: Questions & Answers
Topic: XPRIM_JSON
Replies: 2
Views: 1351

XPRIM_JSON

Is there a way to delete an element (say a string or number) from a json object?
by soa
Mon Nov 05, 2018 11:41 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 1969

Re: Deploy on android and ios?

PWAs can request permission to access device resources, exactly like apps.
by soa
Mon Nov 05, 2018 10:10 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 1969

Re: Deploy on android and ios?

Just to clarify further. VLWEB can already do 99% of what is required to be a PWA, its just a question of packaging. A VLWEB can run on any platform that supports a modern browser and can be designed to run offline. What distinguishes a PWA is that from a browser the app can be installed locally, ap...
by soa
Fri Nov 02, 2018 8:56 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 1969

Re: Deploy on android and ios?

What we need here is a Progressive Web Application (PWA). See https://developers.google.com/web/progressive-web-apps/ for more details. This would allow us to create applications that could be delivered via the web but install themselves on the desktop as an icon and be managed identically to a 'nor...