Hi Mark,
Based off of your sample JSON structure this is not hard to solve, I have had to build json messages similar to this before.
In integrator even if it is JSON array, each object in the array can be accessed or written to as an individual GET/SET fragment using a loop, it does not have to ...
Search found 85 matches
- Wed Apr 30, 2025 10:54 am
- Forum: Questions & Answers
- Topic: Integrator JSON Wizard-List with subordinate fragment
- Replies: 2
- Views: 66170
- Mon Apr 14, 2025 1:43 pm
- Forum: Questions & Answers
- Topic: How to add Tab (ASCII hex09) character into string data ?
- Replies: 2
- Views: 29984
Re: How to add Tab (ASCII hex09) character into string data ?
Hi Jiri,
If your application is VL Web you can use (9).asUnicode string, otherwise you can use (9).asChar
Here is an example in a form:
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Clientwidth(484) Clientheight(301) Componentversion(2)
Define_Com Class(#PRIM_LABL) Name(#label ...
If your application is VL Web you can use (9).asUnicode string, otherwise you can use (9).asChar
Here is an example in a form:
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Clientwidth(484) Clientheight(301) Componentversion(2)
Define_Com Class(#PRIM_LABL) Name(#label ...
- Thu Apr 03, 2025 1:52 pm
- Forum: Questions & Answers
- Topic: PRIM_MD.Alert - duration
- Replies: 2
- Views: 35456
Re: PRIM_MD.Alert - duration
Hi Arlyn,
The duration is not applicable to the visible property. What you need to use to utilies the duration is the showAlert method.
e.g.
Evtroutine Handling(#Button.Click)
* #Alert.Visible := True
#Alert.Duration := 1500
#Alert.Caption := 'Alert to display for 1.5 seconds'
#Alert.ShowAlert ...
The duration is not applicable to the visible property. What you need to use to utilies the duration is the showAlert method.
e.g.
Evtroutine Handling(#Button.Click)
* #Alert.Visible := True
#Alert.Duration := 1500
#Alert.Caption := 'Alert to display for 1.5 seconds'
#Alert.ShowAlert ...
- Fri Nov 29, 2024 8:36 am
- Forum: Questions & Answers
- Topic: Derived App Cache Entries
- Replies: 2
- Views: 55968
Re: Derived App Cache Entries
Hi Arlyn,
If you switch over to the 'Resourses' tab in the editor you should be able to remove the unrelated objects from there, which will inturn remove them from the 'Derived App Cache'.
Cheers,
James
If you switch over to the 'Resourses' tab in the editor you should be able to remove the unrelated objects from there, which will inturn remove them from the 'Derived App Cache'.
Cheers,
James
- Thu Jun 04, 2020 2:59 pm
- Forum: Questions & Answers
- Topic: Google Line Graph sample
- Replies: 1
- Views: 6165
Re: Google Line Graph sample
Hi David,
I have done this in the past to display max, min, mean and median.
It is just a matter of making a routine to add column(s) to the widget JS and then including the input parameters for the add routine.
I have uploaded an example of this widget and a web page running it.
Let me know if ...
I have done this in the past to display max, min, mean and median.
It is just a matter of making a routine to add column(s) to the widget JS and then including the input parameters for the add routine.
I have uploaded an example of this widget and a web page running it.
Let me know if ...
- Wed May 06, 2020 11:12 am
- Forum: Questions & Answers
- Topic: LANSA V14 SP2 EPC142040 - LANSA Package Manager
- Replies: 1
- Views: 6021
Re: LANSA V14 SP2 EPC142040 - LANSA Package Manager
Hi Nick,
This should be reported to your regional support office.
To resolve this issue it will require a fix.
Regards,
James
This should be reported to your regional support office.
To resolve this issue it will require a fix.
Regards,
James
- Fri Mar 20, 2020 8:31 am
- Forum: Questions & Answers
- Topic: Object won't compile
- Replies: 12
- Views: 51383
Re: Object won't compile
Hi Taufik,
I believe this message is because you do not have the object "cmzGeocodedMap" checked out.
If you look for the component in the repository, it should appear greyed out. Meaning there is a copy on the master, but not locally.
Right-click cmzGeocodedMap and select checkout.
Regards ...
I believe this message is because you do not have the object "cmzGeocodedMap" checked out.
If you look for the component in the repository, it should appear greyed out. Meaning there is a copy on the master, but not locally.
Right-click cmzGeocodedMap and select checkout.
Regards ...
- Wed Mar 04, 2020 12:15 pm
- Forum: Questions & Answers
- Topic: View... how to really close it? destroy, etc.
- Replies: 3
- Views: 31769
Re: View... how to really close it? destroy, etc.
Hi,
So there are is no way currently for the views to be closed, as you have found.
So the way I see it there are two ways you could possibly do this.
A) Use the prepare event in the views to re-initialize the values in the view.
But seeing as how you are talking about actually destroying the ...
So there are is no way currently for the views to be closed, as you have found.
So the way I see it there are two ways you could possibly do this.
A) Use the prepare event in the views to re-initialize the values in the view.
But seeing as how you are talking about actually destroying the ...
- Tue Mar 03, 2020 3:59 pm
- Forum: Questions & Answers
- Topic: [VLF ONE RAMP] How to pass a value to #RAMPUser and #RAMPpassword of UF_OLOGON IIP
- Replies: 6
- Views: 1708928
Re: [VLF ONE RAMP] How to pass a value to #RAMPUser and #RAMPpassword of UF_OLOGON IIP
Hi Taku,
Is this what you are looking for https://docs.lansa.com/14/en/lansa050/i ... 0_2285.htm
regards,
James
Is this what you are looking for https://docs.lansa.com/14/en/lansa050/i ... 0_2285.htm
regards,
James
- Thu Jan 30, 2020 4:50 pm
- Forum: Questions & Answers
- Topic: New VL V14SP2 Installation Error
- Replies: 3
- Views: 6740
Re: New VL V14SP2 Installation Error
Hi Art,
I haven't seen this before.
However, in the %temp% directory, there will be a few LANSAInstall*.txt files that are the logs from your Install. When you submit this to support include these, it should make the turn around a bit quicker
Regards,
James
I haven't seen this before.
However, in the %temp% directory, there will be a few LANSAInstall*.txt files that are the logs from your Install. When you submit this to support include these, it should make the turn around a bit quicker
Regards,
James
- Fri Jan 24, 2020 12:44 pm
- Forum: Questions & Answers
- Topic: Tabs
- Replies: 10
- Views: 26020
Re: Tabs
Hi Pratibha,
No, unfortunately, there is not a way to change the style on individual tab buttons.
But, I would like to stress there is not much of a code change for adding in the prim_md.tab component, you can still keep your prim_tab and tabsheets, the prim_md.tab is just control that contains ...
No, unfortunately, there is not a way to change the style on individual tab buttons.
But, I would like to stress there is not much of a code change for adding in the prim_md.tab component, you can still keep your prim_tab and tabsheets, the prim_md.tab is just control that contains ...
- Fri Jan 24, 2020 8:44 am
- Forum: Questions & Answers
- Topic: Theme color on #PRIM_MD.Edit
- Replies: 4
- Views: 27391
Re: Theme color on #PRIM_MD.Edit
Hi Pratibha,
See the sample below. The from what you are asking so far it does appear the captioncolour property is what needs to be set.
If this does not give you what you are looking for, can you please send the definition of the edit field and more of a description about what you are wanting ...
See the sample below. The from what you are asking so far it does appear the captioncolour property is what needs to be set.
If this does not give you what you are looking for, can you please send the definition of the edit field and more of a description about what you are wanting ...
- Fri Jan 24, 2020 8:07 am
- Forum: Questions & Answers
- Topic: global object that returns objApplication name in visual lansa version13
- Replies: 5
- Views: 11654
Re: global object that returns objApplication name in visual lansa version13
Hi,
That documentation is applicable for VL-Win and VL-One, thus it will be applicable for your application.
The V13 documentation is not online, so sending direct links is not possible, but it does exist in the V13 shipped VLF documentation, just do a search for "Writing queries over Visual ...
That documentation is applicable for VL-Win and VL-One, thus it will be applicable for your application.
The V13 documentation is not online, so sending direct links is not possible, but it does exist in the V13 shipped VLF documentation, just do a search for "Writing queries over Visual ...
- Wed Jan 22, 2020 8:10 am
- Forum: Questions & Answers
- Topic: Tabs
- Replies: 10
- Views: 26020
Re: Tabs
Hi Pratibha,
I am not sure what you mean.
PRIM_MD.tab is just a container to display prim_md.TabItems, these can be linked to tabs or views to open them upon clicking on the item.
here is an example of using it with tabsheets:
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME ...
I am not sure what you mean.
PRIM_MD.tab is just a container to display prim_md.TabItems, these can be linked to tabs or views to open them upon clicking on the item.
here is an example of using it with tabsheets:
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME ...
- Tue Jan 21, 2020 8:07 am
- Forum: Questions & Answers
- Topic: Tabs
- Replies: 10
- Views: 26020
Re: Tabs
Hi Pratibha,
This cannot be done with prim_tab. It can only be achieved with PRIM_MD.tab.
Regards,
James
This cannot be done with prim_tab. It can only be achieved with PRIM_MD.tab.
Regards,
James
- Thu Jan 16, 2020 8:10 am
- Forum: Questions & Answers
- Topic: Tabs
- Replies: 10
- Views: 26020
Re: Tabs
Hi,
Make sure 'ShowSelection' property is set and the 'SelectionColor' will allow you to select the colour of the line the tab container (#prim_md.tab) the viewstyle property should also be set to 'TopNavigation''
https://docs.lansa.com/14/en/lansa016/prim_md.tab_showselection.htm
https://docs ...
Make sure 'ShowSelection' property is set and the 'SelectionColor' will allow you to select the colour of the line the tab container (#prim_md.tab) the viewstyle property should also be set to 'TopNavigation''
https://docs.lansa.com/14/en/lansa016/prim_md.tab_showselection.htm
https://docs ...
- Fri Jan 10, 2020 2:09 pm
- Forum: Questions & Answers
- Topic: Where did BIF GET_FILE_INFO go?
- Replies: 3
- Views: 12976
Re: Where did BIF GET_FILE_INFO go?
Hi Hammad,
Can you try doing a system initialization making sure to select local disk and standard built in function definitions?
If that does not work, then I would suggest contacting support for this issue.
Regards,
James
Can you try doing a system initialization making sure to select local disk and standard built in function definitions?
If that does not work, then I would suggest contacting support for this issue.
Regards,
James
- Thu Jan 09, 2020 8:11 am
- Forum: Questions & Answers
- Topic: VL-WEB, SSL and pending request
- Replies: 4
- Views: 9651
Re: VL-WEB, SSL and pending request
Hi Klaus,
I have never set up SSL on an IBM i, but it could possibly be the SSL setting for IBM i itself has timed out.
Have you checked whether there is an SSL IO timeout setting on the IBM i side?
Regards,
James
I have never set up SSL on an IBM i, but it could possibly be the SSL setting for IBM i itself has timed out.
Have you checked whether there is an SSL IO timeout setting on the IBM i side?
Regards,
James
- Fri Dec 20, 2019 8:46 am
- Forum: Questions & Answers
- Topic: VL-WEB, SSL and pending request
- Replies: 4
- Views: 9651
Re: VL-WEB, SSL and pending request
Hi Klaus,
This is a failed request to the server. Most likely your session has timed out and is not being handled.
Look in your server module for a #com_owner.startsession command, by default this is set to 300 seconds, which can be increased by adding a value for the time out parameter. e.g. #com ...
This is a failed request to the server. Most likely your session has timed out and is not being handled.
Look in your server module for a #com_owner.startsession command, by default this is set to 300 seconds, which can be increased by adding a value for the time out parameter. e.g. #com ...
- Mon Dec 02, 2019 10:31 am
- Forum: Questions & Answers
- Topic: PRIM_MD.List selected entry
- Replies: 1
- Views: 4988
Re: PRIM_MD.List selected entry
Hi,
You need to have the currentitem property included in your setting and removing of the styles. This will ensure that the selection lost will remove the style from the appropriate entry and item click will add it to the newly selected one
for example
Evtroutine Handling(#List ...
You need to have the currentitem property included in your setting and removing of the styles. This will ensure that the selection lost will remove the style from the appropriate entry and item click will add it to the newly selected one
for example
Evtroutine Handling(#List ...