Search found 12 matches

by KEC
Thu Dec 11, 2025 1:58 am
Forum: Questions & Answers
Topic: push notifications in VL Web
Replies: 10
Views: 14952

Re: push notifications in VL Web

The biggest thing that can cause problems is if the notification permissions in the browser is set to Block.
by KEC
Mon Aug 04, 2025 10:28 pm
Forum: Questions & Answers
Topic: List actions, double click, etc.
Replies: 4
Views: 124277

Re: List actions, double click, etc.

Double click isn't really a web/mobile thing. Perhaps you need to review expectations. Users on those platforms are used to single clicks. Perhaps an expender or a plus(+) button to expand. Have a described action rather than expectations of double click which was more a windows thing.

Karen
by KEC
Fri Jul 11, 2025 8:15 pm
Forum: Questions & Answers
Topic: Integrator Version control
Replies: 1
Views: 105781

Re: Integrator Version control

Hi

Note that the Integrator Studio workspaces are normally outside the LANSA Version Control. However, you can manually have that structure under VCS.

The other thing to think about is - are your objects classified as External Resources in the LANSA Repository? As long as they were resaved after ...
by KEC
Mon Jun 09, 2025 7:26 pm
Forum: Questions & Answers
Topic: REST API Endpoints with optional authentication
Replies: 2
Views: 171904

Re: REST API Endpoints with optional authentication

The security at API Design tab is there to enforce it. And optionally ignore it.

If all your operations are going to be flagged as Ignore, then you might as well not do it using #com_home.<security>, but just reference via the HTTP Context.

Also, you don't have to use the "authorization" header ...
by KEC
Fri Sep 20, 2024 12:19 am
Forum: Questions & Answers
Topic: Can I use C-program-source code in Visual LANSA?
Replies: 2
Views: 15494

Re: Can I use C-program-source code in Visual LANSA?

Hi

If you have c code, the easiest way is to wrap it in a Built In Function. See the Technical Reference guild, Appendix B.
https://docs.lansa.com/15/en/LANSA015/Default.htm#lansa/DSNBI_0005.htm

There are samples in that section, and at the very last page, a skeleton for C code.

You could also ...
by KEC
Fri Sep 20, 2024 12:08 am
Forum: Questions & Answers
Topic: Ports when making request to external API from IBMi
Replies: 6
Views: 107539

Re: Ports when making request to external API from IBMi

The source port used is supplied by the operating system. The remote port will be what the URL is using - normally 80(http) or 443(https).
by KEC
Mon Sep 02, 2024 11:17 pm
Forum: Questions & Answers
Topic: VL Web Routing
Replies: 1
Views: 11096

Re: VL Web Routing

Yes, you can still specify developer=yes as a query parameter

Karen
by KEC
Tue May 21, 2024 11:30 pm
Forum: Questions & Answers
Topic: Object definition in API and read multiple object from JSON
Replies: 1
Views: 10616

Re: Object definition in API and read multiple object from JSON

The trick is to use the .Add for the initial items. This is covered in Learn LANSA - Modern API's - Chapter 6.

In the API Definition, create 6 types.
Level1Type - Object - this is the most inner level
Level1Array - Array - Reference Level1Type
Level2Type - Object - Includes reference to Level1Array ...
by KEC
Fri Jun 30, 2023 7:27 pm
Forum: Questions & Answers
Topic: #PRIM_IOC.FileStream and StreamReader StreamWriter
Replies: 7
Views: 37451

Re: #PRIM_IOC.FileStream and StreamReader StreamWriter

Often issues like this is because of codepage.

There are a selection of BIF's that deal with writing and appending to IFS very quicky and do have codepage handling
STM_FILE_OPEN
STM_FILE_READ
STM_FILE_WRITE

On the open, you can decide Read/Write/Append and Codepage. This way you can handle EBCDIC ...
by KEC
Fri Jun 30, 2023 6:53 pm
Forum: Questions & Answers
Topic: Date Control value is previous day
Replies: 10
Views: 47084

Re: Date Control value is previous day

This document highlights usage and impacts of DateTime. It may give some extra insights

https://www.lansa.com/downloads/support/datetime.pdf
by KEC
Wed Nov 30, 2022 9:10 pm
Forum: Questions & Answers
Topic: #XPRIM_Binary Base64 encoding/decoding
Replies: 4
Views: 14725

Re: #XPRIM_Binary Base64 encoding/decoding

Data is Unicode, so should be identical between Windows and IBMi.

One other thing is you might want to investigate using some of the newer primitives for JSON

Define_Com Class(#prim_ioc.FileStream) Name(#uoFileStreamWriter)
Set Com(#uoFileStreamWriter) Fileaccess(Write) Filemode(CreateNew) Path ...
by KEC
Fri Jun 04, 2021 5:07 pm
Forum: Questions & Answers
Topic: Any Development Teams using LANSA with VCS?
Replies: 1
Views: 9305

Re: Any Development Teams using LANSA with VCS?

Yes. I've worked on a large project that is VCS with an IBMi

This is using GitHub. This becomes the master repository. The IBMi is added as a Remote server, and instead of doing a Checkin, Checkout using Host Monitor you perform a Deliver To. It is one way, as you code base is Git not the IBMi ...