Search found 57 matches

by Tim McEntee
Wed Jul 02, 2025 4:21 pm
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

Re: WEB API not working

http://192.168.30.45:7080/d02/LTAAPIOrd ... LTCPRODID=

so http or https
then ip:port
then partition
then server module name
then service name
by Tim McEntee
Tue May 27, 2025 3:05 pm
Forum: Questions & Answers
Topic: Change colour of scroll bar on a List
Replies: 2
Views: 43695

Re: Change colour of scroll bar on a List

See:
https://developer.mozilla.org/en-US/doc ... lbar-color

scrollbar-color: rebeccapurple green;

You would have to define a css file and add it to the header of the web page.
by Tim McEntee
Thu May 01, 2025 10:48 am
Forum: Questions & Answers
Topic: Prim_tree and Sort VL-web V15
Replies: 1
Views: 29590

Re: Prim_tree and Sort VL-web V15

Hi Klaus

I can't see the full code but I am going to guess that the component you are using for the *as part is incorrect.

In your code you will have
define_com class(#prim_list<#myDesign>) name(#IBAfvgTreeList)

* your code
#INSACCOUN.Compare ((#CompareTo.Design *As #IBAfvgTreeList).KREDITOR ...
by Tim McEntee
Tue Apr 01, 2025 11:37 am
Forum: Questions & Answers
Topic: VL-WEB, ExecuteAsync and bad wifi
Replies: 5
Views: 56832

Re: VL-WEB, ExecuteAsync and bad wifi

Hi Klaus

In traditional client/server the connection is a what I would call a hard connection, where if there is an internet drop-out the connection is lost and must be re-established. The paradigm here is to first check that the connection is up. If it is then proceed with your processing, if not ...
by Tim McEntee
Mon Mar 17, 2025 1:33 pm
Forum: Questions & Answers
Topic: How can I read JSON object containing keyed paired values ?
Replies: 3
Views: 48892

Re: How can I read JSON object containing keyed paired values ?

Hi Devp

When you are extracting data from Name Value pairs usually you supply the Name and get the value. I'm not sure if you can run through the properties in an object using the X_PRIM Json tools. Someone might know how.

You could write code that reads the JSON string one char at a time. Trips ...
by Tim McEntee
Tue Mar 11, 2025 2:08 pm
Forum: Questions & Answers
Topic: I'm not authorised to read from file VFPLF06A.BARVBDDTA?
Replies: 3
Views: 30247

Re: I'm not authorised to read from file VFPLF06A.BARVBDDTA?

Hi Peter

If it is locking up when doing an import then it is likely an authority issue. Not sure what. It is probably using the userid you have logged in to the VLF to perform the import and it does not have enough authority. Try with the partition owner if you can.

You could try and export from ...
by Tim McEntee
Tue Mar 04, 2025 10:14 am
Forum: Questions & Answers
Topic: I'm not authorised to read from file VFPLF06A.BARVBDDTA?
Replies: 3
Views: 30247

Re: I'm not authorised to read from file VFPLF06A.BARVBDDTA?

Hi

Did you export your users from DEV then import them into the test system. This is done through the VLF Administration.

Tim
by Tim McEntee
Wed Feb 26, 2025 8:36 am
Forum: Questions & Answers
Topic: RAMP: strange behaviour when working with aXes project
Replies: 2
Views: 69403

Re: RAMP: strange behaviour when working with aXes project

Hi Jorg

You are showing the aXes Editor icons as not working.

In RAMP Tools does the screen show ok? Can you choreograph? Sometimes I use the editor to name Screens and fields on screens. These are the actions that should be done in RAMP Tools.

As for the images not loading - try this. Go to ...
by Tim McEntee
Thu Jan 16, 2025 11:02 am
Forum: Questions & Answers
Topic: Background Image on Default Login page
Replies: 3
Views: 60622

Re: Background Image on Default Login page

I don't think you can change the size in this circumstance.

The best option is for you to size the image so that it fits the screen.
by Tim McEntee
Mon Jan 13, 2025 10:53 am
Forum: Questions & Answers
Topic: Signal from a Prim_Tree.iTreeDesign RP
Replies: 1
Views: 69396

Re: Signal from a Prim_Tree.iTreeDesign RP

Hi Klaus

In your tree design RP define your event as normal - and fire it when needed.

DEFINE_EVT Name(DropDownSelected)
DEFINE_MAP For(*INPUT) Class(#PRIM_BOLN) Name(#selected)

SIGNAL Event(DropDownSelected) Selected(#BPEIsDropDownSwitch.Checked)

In your dialog it gets a bit tricky

define a ...
by Tim McEntee
Mon Jan 13, 2025 10:35 am
Forum: Questions & Answers
Topic: creating json V15
Replies: 1
Views: 69945

Re: creating json V15

Hi

Try

DEFINE_COM Class(#PRIM_WEB.JsonObject) Name(#jsonParcelObjectArrayItem) Reference(*DYNAMIC)

#jsonparcelArray <= #jsonobj.InsertArray( 'parcels' )

#jsonParcelObjectArrayItem <= #jsonparcelArray.InsertObject
#jsonParcelObjectArrayItem.InsertString Key('weight') Number(1000 ...
by Tim McEntee
Wed Dec 04, 2024 2:33 pm
Forum: Questions & Answers
Topic: Background Image on Default Login page
Replies: 3
Views: 60622

Re: Background Image on Default Login page

Hi

Try #BPImage.ImageUnits
.ImageHeight
.ImageWidth

Tim
by Tim McEntee
Fri Sep 20, 2024 9:20 am
Forum: Questions & Answers
Topic: Can I use C-program-source code in Visual LANSA?
Replies: 2
Views: 15499

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

Hi Joerg

I have not done this with C

Can you use the Lansa call command.

This will work with a Vl/Windows environment.

For VL/Web you would do a call to a server module that would run your program and return the value.

Tim
by Tim McEntee
Thu Jun 20, 2024 12:48 pm
Forum: Questions & Answers
Topic: SELECT_SQL performs only 1 time
Replies: 4
Views: 23300

Re: SELECT_SQL performs only 1 time

Hi Joerg

Calling RDMLX from RDML and vice-versa can be problematic. It looks like the program or the SQL are being remembered. Are you using *HEAVYUSAGE.

Try putting the RDMLX in a reusable part. In the RDML function define the reusable as *DYNAMIC.

Before you execute, create the reusable ...
by Tim McEntee
Fri Apr 12, 2024 8:25 am
Forum: Questions & Answers
Topic: Issue trying to add a (large) field to a DISPLAY command
Replies: 2
Views: 19645

Re: Issue trying to add a (large) field to a DISPLAY command

An old memory

You can add multiple request statements in your code. The first one the program hits is the one that is shown. If you use a page variable in that first display/request you can then use the manually created page that the page variable points to, and paint a screen that uses all of the ...
by Tim McEntee
Tue Mar 19, 2024 3:44 pm
Forum: Questions & Answers
Topic: #XPRIM_JsonWriter & WriteBase64StringFromFile
Replies: 5
Views: 27317

Re: #XPRIM_JsonWriter & WriteBase64StringFromFile

Hi Arlyn

I have no idea if this will work. It does in Postman and in Integrator

XPRIM_HttpContent has an Addfile method. If you write your very long string to a file, then add the file using this method I think it is worth a try.

Tim
by Tim McEntee
Thu Mar 07, 2024 8:58 am
Forum: Questions & Answers
Topic: VLF-WIN Application Communication Errors
Replies: 3
Views: 21178

Re: VLF-WIN Application Communication Errors

The two most common error numbers when trying to connect are 20 & 6.

20 means that you cannot connect to the server. 6 means there is an issue with the user - disabled, incorrect password etc.

Is this an issue for all users, or just some. Where are the some situated. At home, in the office. Are ...
by Tim McEntee
Thu Mar 07, 2024 8:51 am
Forum: Questions & Answers
Topic: Disable Multiple Sendkey error
Replies: 3
Views: 19571

Re: Disable Multiple Sendkey error

The best way to stop the multiple sendkeys message in RAMP is to not send multiple sendkeys.

After a sendkey is issued the tracing even says this should be your last code to be executed before leaving the button script. If you are guessing keystrokes in future screens, there is the Q_SENDKEY ...
by Tim McEntee
Fri Mar 01, 2024 3:44 pm
Forum: Questions & Answers
Topic: Can't debug on new slave install
Replies: 18
Views: 129691

Re: Can't debug on new slave install

Make sure that telnet is available on your pc. I did a simple telnet from my pc to the IBMi and got a signon screen. One way works.

Make sure that your debug listener is running. In your Lansa IDE - File Options - Debug - it will have the port.

From the IBMi do
ping 'nn.nn.nn.nn'
This runs on UDP ...
by Tim McEntee
Fri Mar 01, 2024 10:56 am
Forum: Questions & Answers
Topic: Looping through subfile
Replies: 4
Views: 22793

Re: Looping through subfile

Hi FBuckham,

It looks like you are trying to seven page down keys in a row. What you need to is do one at a time, wait for the screen to come back and press again.

Tim