Search found 219 matches

by kno_dk
Sat Feb 07, 2026 12:45 am
Forum: Questions & Answers
Topic: Bar charts VL-WEB V15
Replies: 1
Views: 964

Bar charts VL-WEB V15

Hi.

I have a VL-WEB application. The user wants to have some bars/charts when they starts the application. What is the best options in LANSA - xGoogleColumnChart widget or the PRIM_CHRT.BarChart?
I need to make something like the image below. I need to have some grouping and some space between the ...
by kno_dk
Thu Sep 25, 2025 12:02 am
Forum: Questions & Answers
Topic: updating a json file
Replies: 0
Views: 27613

updating a json file

Hi.

I have create a config file ( in the ifs) in json format like in this post:
https://forum.developer.lansa.com/viewtopic.php?f=3&t=2046&p=5374&hilit=PRIM_JSON.Reader#p5374

It is working fine - I can create the config file and I can read the config file.

Now I have to update some of the values ...
by kno_dk
Fri Sep 19, 2025 4:03 pm
Forum: Questions & Answers
Topic: Generating TXT Files with Specific Delimiters in Visual LANSA
Replies: 3
Views: 22510

Re: Generating TXT Files with Specific Delimiters in Visual LANSA

Hi.

this is what I use when I want to create a log file.

Define_Com Class(#prim_dc.UnicodeString) Name(#CarriageReturn)
Define_Com Class(#prim_dc.UnicodeString) Name(#LineFeed)
#LineFeed := (10).AsUnicodeString
#CarriageReturn := (13).AsUnicodeString

#Logtxt01 += 'id_token: ' + #id_token ...
by kno_dk
Mon Sep 01, 2025 11:00 pm
Forum: Questions & Answers
Topic: Dialog placement
Replies: 0
Views: 41919

Dialog placement

Hi.

If i want to set the placemnet of a dialog eg. left top corner - is that possible?

In the placement property on the dialog I only have center or fullscreen.

/Klaus
by kno_dk
Mon Jul 21, 2025 11:44 pm
Forum: Questions & Answers
Topic: why HTTPTransportException in the IBM but not in Windows?
Replies: 23
Views: 10144608

Re: why HTTPTransportException in the IBM but not in Windows?

Hi.

Looked into this issue once again. The answer was actually in a support case I had with Theo - I must have overlooked it in the answer.

I just had to set the sni_fqdn to the same valeu as the host
#Url.SetHost( 'xyz.server.com' )
ÆReq.Options.SetMiscProperty Name('sni_fqdn') Value('xyz.server ...
by kno_dk
Wed Jul 09, 2025 4:08 pm
Forum: Questions & Answers
Topic: Cannot read properties of undefined (reading 'ENG')
Replies: 2
Views: 75737

Re: Cannot read properties of undefined (reading 'ENG')

Hi

I get the same.

My application have a session (COM_OWNER.StartSession Timeout(28800)) but I don't think it is timed out. No other errors.

I have reported it to LANSA Support but it did not solve my problem.

In my error it says: lansa_15_0_7_0/lansa_prim.js:1116:71 - do you get the same js ...
by kno_dk
Thu Jul 03, 2025 4:17 am
Forum: Questions & Answers
Topic: Signal event from View to Main Web Page
Replies: 4
Views: 70173

Re: Signal event from View to Main Web Page

Hi.

Have you looked at the globaldataobject?

/klaus
by kno_dk
Mon May 05, 2025 11:51 pm
Forum: Questions & Answers
Topic: Integrator Studio location on machine? - RESOLVED
Replies: 2
Views: 28142

Re: Integrator Studio location on machine?

Hi

I have the lansa integrator studion under "Settings and administration " in my lansa folder on the desktop.
by kno_dk
Tue Apr 29, 2025 10:04 pm
Forum: Questions & Answers
Topic: Prim_tree and Sort VL-web V15
Replies: 1
Views: 29590

Prim_tree and Sort VL-web V15

Hi.

I have an application with a PRIM_tree and the setup/design is handled in a RP. This has worked fine until now.
Now the customer wants to sort on different fields in this RP.

I have looked at the examples in DEM partition and tried to make it similar, but I can not get it to work
I have this ...
by kno_dk
Thu Apr 10, 2025 5:51 pm
Forum: Questions & Answers
Topic: VL-WEB (V15) and a sound (Beep) when error
Replies: 1
Views: 30809

VL-WEB (V15) and a sound (Beep) when error

Hi.

I would like to have a Beep Sound in my VL-WEB App if there is an error.

What is the best way to do that? Any examples?

/klaus
by kno_dk
Wed Apr 02, 2025 12:27 am
Forum: Questions & Answers
Topic: VL-WEB, ExecuteAsync and bad wifi
Replies: 5
Views: 56832

Re: VL-WEB, ExecuteAsync and bad wifi

Hi.

Thans for your response.

Tim: I can not use the noop lookup because next time I try to call the server routine it might be the time where I have a bad connection.

I have made this for test:

Mthroutine Name(GetReklinier_com)
Define_Map For(*INPUT) Class(#rmhnum) Name(#Modtnum)
Define_Map For ...
by kno_dk
Sat Mar 29, 2025 2:37 am
Forum: Questions & Answers
Topic: VL-WEB, ExecuteAsync and bad wifi
Replies: 5
Views: 56832

VL-WEB, ExecuteAsync and bad wifi

Hi

I have an VL-WEB application. In my main web page I have this: Evtroutine Handling(#SYS_WEB.RequestFailed) Handled(#Handled) Request(#Request) Reason(#Reason)
and if there is an error i goto signon again.

Now at the customersite they have poor wifi so we get alot of errors where we do not have ...
by kno_dk
Tue Jan 14, 2025 1:35 am
Forum: Questions & Answers
Topic: Best practice for Select/Update?
Replies: 2
Views: 65877

Re: Best practice for Select/Update?

Try to create a working field like #WRKSTATUS
#WRKSTATUS := 'NEW'
Select *all from_file(myfile) with_key(#WRKSTATUS)
Execute Subroutine(Process)
#STATUS := 'PROCESSED'
Update #STATUS in_file(myfile)
EndSelect

I think it is becaus you change your #status field to 'PROCESSED' , so the second time ...
by kno_dk
Fri Dec 13, 2024 2:01 am
Forum: Questions & Answers
Topic: creating json V15
Replies: 1
Views: 69945

creating json V15

Hi

I have this function where I create a json file with some info regardin a shipment. It works nearly ok.

I have a problem in the parcel array which give me this:
"parcels": [
{
"weight": 2000
},
{
"weight": 2000
}
]

it should have been one with 1000 and one with 2000.
Here is my code ...
by kno_dk
Fri Nov 15, 2024 5:57 am
Forum: Questions & Answers
Topic: Signal from a Prim_Tree.iTreeDesign RP
Replies: 1
Views: 69396

Signal from a Prim_Tree.iTreeDesign RP

HI.

I have a Dialog where i setup a list using a PRIM_tree RP.
how do I signal from the RP to the dialog to do something like update the list?

/klaus
by kno_dk
Fri Oct 04, 2024 4:56 pm
Forum: Suggestions for Product Enhancements
Topic: LANSA License - Server
Replies: 0
Views: 275066

LANSA License - Server

I have a server with all my LANSA license. When I use the LANSA IDE on work ther is not problem, but if I take my pc with me home and want to work it the LANSA IDE i get the error, in attached imag, that I have problem with the License even I have VPN up and running. It would be nice to have a retry ...
by kno_dk
Mon Aug 26, 2024 12:31 am
Forum: Questions & Answers
Topic: LANSA Integrator SOAP and Self signed certificate
Replies: 1
Views: 14040

Re: LANSA Integrator SOAP and Self signed certificate

Hi

Found a solution.

You have to use PKI in lansa integrator and the import the certificate into the JKS keystore.
And have this in the manager.properties:
# SSL configuration
#
java.protocol.handler.pkgs
javax.net.ssl.keyStore=pki/cacerts.jks
javax.net.ssl.keyStoreType=jks
javax.net.ssl ...
by kno_dk
Sun Aug 25, 2024 10:50 pm
Forum: Questions & Answers
Topic: LANSA Integrator SOAP and Self signed certificate
Replies: 1
Views: 14040

LANSA Integrator SOAP and Self signed certificate

Hi.

I have a application on an IBM I which use a 3 party soap Web-service via LANSA Integrator. This 3 party service have use HTTPS and it have work without any problems. But now they have switched to self signed certificate.

I have tried to import this new certificat into the IBM DCM and that ...
by kno_dk
Thu Aug 22, 2024 9:13 pm
Forum: Questions & Answers
Topic: LANSA Installation on Windows server
Replies: 7
Views: 37757

Re: LANSA Installation on Windows server

Hi.

I have tested a bit more.

when I try to install lansa on the Application server I get this errors on the server, it gives me the same error if I try to point the ODBC to the Database server or the SQL on the Application server:

hu Aug 22 12:47:06 2024
Version 15.0.0 Build 4403 Windows ...