Search found 165 matches

by Dino
Sat Sep 25, 2021 6:26 am
Forum: Questions & Answers
Topic: avListManager - Filter selection
Replies: 1
Views: 88

Re: avListManager - Filter selection

If talking about VLF-WIN, The example DF_DET22 (List Manager Technique: Show All Entries) uses #avListManager.GetInstance to access all the entries in the instance list from the command handler. Using this, you could have your own logic to access the next one, or any other elements in the result ins...
by Dino
Fri Sep 24, 2021 7:27 am
Forum: Questions & Answers
Topic: LANSA V14SP2 IDE crashes when scrolling through source code
Replies: 2
Views: 81

Re: LANSA V14SP2 IDE crashes when scrolling through source code

while not specific to LANSA, I have seen that error recently after a windows update... https://answers.microsoft.com/en-us/protect/forum/all/0xe0434352/372110fa-2a7c-4ab6-904f-d5f45fa4d1c4 and points to .net framework installation damaged somehow after the latest windows update. try repairing window...
by Dino
Mon Sep 20, 2021 11:25 pm
Forum: Questions & Answers
Topic: Lansa Mobile/Web Barcode Scanner
Replies: 8
Views: 315

Re: Lansa Mobile/Web Barcode Scanner

I know you can enroll .net components in the repository, they were typically .dll, but no idea if other kind of .net components are now available that could be suitable for a web application or a pwa application or if they can be used outside of the windows realm.
by Dino
Fri Sep 17, 2021 5:51 am
Forum: Questions & Answers
Topic: #PRIM_LIST.Number - Spin Edit
Replies: 1
Views: 100

Re: #PRIM_LIST.Number - Spin Edit

I can only think in replacing that with #PRIM_LIST.String if you dont want the spin

Code: Select all

Define_Com Class(#PRIM_LIST.String) Name(#ColumnXDEMONUMB1) Displayposition(1) Parent(#List) Source(#xDemoNumber) Columnreadonly(False)
by Dino
Fri Sep 17, 2021 4:21 am
Forum: Questions & Answers
Topic: field on reusable part/add to file in server module
Replies: 5
Views: 4612

Re: field on reusable part/add to file in server module

Web Page sending a list to server module works fine.... Try with this example: Web Page: Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Define_Com Class(#STD_AMNT.EditField) Name(#STD_AMNT) Displayposition(1) Left(36) Parent(#COM_OWNER) Tabposition(1) Top(26) Define_Com Cla...
by Dino
Mon Sep 13, 2021 10:20 am
Forum: Questions & Answers
Topic: Lansa Mobile/Web Barcode Scanner
Replies: 8
Views: 315

Re: Lansa Mobile/Web Barcode Scanner

Outside of marketing, future product enhancements, product directions, pwa and things like that, I see widgets as a way to add functionality to the product and keep it isolated in a black box, a bit like the "builtins", they are things that I need at a given point of time. Eventually, if enough user...
by Dino
Sun Sep 12, 2021 12:19 am
Forum: Questions & Answers
Topic: Lansa Mobile/Web Barcode Scanner
Replies: 8
Views: 315

Re: Lansa Mobile/Web Barcode Scanner

Ill come back to this later, but using this page: https://www.kirupa.com/html5/accessing_your_webcam_in_html5.htm I was able to create a widget that activates the webcam, just a simple widget, but still working in detailsv(not showing the image right now), the force is not strong in me regarding wid...
by Dino
Sat Sep 11, 2021 11:15 pm
Forum: Questions & Answers
Topic: Lansa Mobile/Web Barcode Scanner
Replies: 8
Views: 315

Re: Lansa Mobile/Web Barcode Scanner

Balaji, LANSA Mobile is what gives to the LANSA Web Pages the possibility of access your device's features such as the camera and barcode scanners. Those widgets basically ask LANSA Mobile to do something, like take a picture, get a barcode, and return the information to the LANSA Web Page. Now, if ...
by Dino
Tue Sep 07, 2021 11:16 pm
Forum: Questions & Answers
Topic: M@EXCHL limit of parm/value pairs
Replies: 7
Views: 297

Re: M@EXCHL limit of parm/value pairs

strange, this other test works fine, so the total length can exceed 256. mexchl4.jpg each tmplong* field is a(256): Function Options(*DIRECT) Group_By Name(#MANYFLDS) Fields(#tmplong1 #tmplong2 #tmplong3 #eMPNO #SURNAME #GIVENAME) Set_Mode To(*DISPLAY) Display Fields(#MANYFLDS) Identify(*NOID) mexch...
by Dino
Tue Sep 07, 2021 9:50 am
Forum: Questions & Answers
Topic: M@EXCHL limit of parm/value pairs
Replies: 7
Views: 297

Re: M@EXCHL limit of parm/value pairs

It is working fine in V15 epc150040, with this test: mexchl1.jpg LANSA Code ...fields SA_ICOLxx are A(25): Function Options(*DIRECT) Group_By Name(#manyflds) Fields(#SA_ICOL01 #SA_ICOL02 #SA_ICOL03 #SA_ICOL04 #SA_ICOL05 #SA_ICOL06 #SA_ICOL07 #SA_ICOL08 #SA_ICOL09 #SA_ICOL10 #SA_ICOL11 #SA_ICOL12 #SA...
by Dino
Fri Sep 03, 2021 6:29 am
Forum: Questions & Answers
Topic: VL 15 WEB API Put / Patch / Create
Replies: 4
Views: 2982

Re: VL 15 WEB API Put / Patch / Create

Lets say you have a table called PSLmini with the fields EMPNO, SURNAME, GIVENAME and SALARY, and you created a restful server module using the File/ New /Server Module /Web Api / option in the Visual LANSA menu, and called your server module TEST92SM , so the service Name is TEST92SM and you used T...
by Dino
Tue Aug 24, 2021 6:43 am
Forum: Questions & Answers
Topic: LANSA Mobile with Webpage how to show pdf
Replies: 2
Views: 2649

Re: LANSA Mobile with Webpage how to show pdf

Do you have a particular reason to download the pdf to the device before to show it? If you have it in the server already, a simple sys_web.navigate can display it both in iOs and Android: #SYS_WEB.Navigate Url('/images/temp/report0012389.pdf') Target(New) will show the pdf in the device ...and allo...
by Dino
Mon Aug 23, 2021 11:15 pm
Forum: Questions & Answers
Topic: VL 15 WEB API Put / Patch / Create
Replies: 4
Views: 2982

Re: VL 15 WEB API Put / Patch / Create

This is an old example (around 2018) that was provided to show how to use restful apis with LANSA, maybe came with the examples at one poitn. I am attaching here the server module required as well, notice that the server module is kind of like the initial version of the publishing the server module ...
by Dino
Sat Aug 21, 2021 1:53 am
Forum: Questions & Answers
Topic: Reusable Part in List is slow
Replies: 6
Views: 13438

Re: Reusable Part in List is slow

This work for me in the reusable part with the tile: Mthroutine Name(OnAdd) Options(*REDEFINE) If (#EMPNO.RightMost( 1 ) > '4') #CheckBox1.visible #button1.visible #icon.visible #surname.visible #givename.visible := False #COM_OWNER.Height := 100 Endif Endroutine then I get this result: testdb2.jpg
by Dino
Fri Aug 20, 2021 10:40 pm
Forum: Questions & Answers
Topic: 530/534 FTP Credentials only accepted
Replies: 1
Views: 2504

Re: 530/534 FTP Credentials only accepted

This works for me in my ftp server which also requires TLS/SSL (names changed of course): Use JSMX_COMMAND With_Args(#JSMXHDLE1 'CONNECT HOST(FTP.SNOWWHITE.COM) SECURE(*YES) PROT(*YES)') To_Get(#JSMXSTS #JSMXMSG) Use JSMX_COMMAND With_Args(#JSMXHDLE1 'LOGIN USER(grumpy@snowwhite.com) PASSWORD(Ahhhhg...
by Dino
Fri Aug 20, 2021 6:30 am
Forum: Questions & Answers
Topic: Reusable Part in List is slow
Replies: 6
Views: 13438

Re: Reusable Part in List is slow

Hi Art Are you using tiles for this? Using standard tiles, I get less than 3 seconds in an i5 processor notebook to prepare a list of tiles with components, no much difference if reading a database or just using localdata (no server module). For example, this is my webpage (TE819WP): Begin_Com Role(...
by Dino
Fri Aug 20, 2021 2:14 am
Forum: Questions & Answers
Topic: VL 15 WEB API Put / Patch / Create
Replies: 4
Views: 2982

Re: VL 15 WEB API Put / Patch / Create

Hi Check the example Web Page xDemoWebServicesLiveDemoDownload (XDEMO_126) which retrieves a contact, search for some, allow you to update information in it using the PUT method, etc. Just notice that all is good in windows, if you want to publish this kind of restful services in the IBM, you need t...
by Dino
Thu Aug 19, 2021 11:34 pm
Forum: Questions & Answers
Topic: How to break a field
Replies: 2
Views: 2758

Re: How to break a field

If you check the example in the home page of Visual LANSA IDE, under "Explore Material Design Controls" (xmdmain web page), go to text fields, you will see an example using what it calls variable height field box: https://raulolivera.com/lansa/variableheight.jpg Opening the web page, following the l...
by Dino
Wed Aug 11, 2021 9:01 am
Forum: Questions & Answers
Topic: LANSA runtime Licensing problem with VM's
Replies: 2
Views: 2871

Re: LANSA runtime Licensing problem with VM's

What version/epc of LANSA runtime licensing?
by Dino
Wed Aug 11, 2021 1:39 am
Forum: Questions & Answers
Topic: How to execute asynchronous processing without Server module
Replies: 2
Views: 2789

Re: How to execute asynchronous processing without Server module

I would think that running asynchronous code without the server module, will involve some javascript, meaning, you will need to create your own javascript code, put it in a widget, so you can reuse/call it from your LANSA webpage. Javascript code like these most likely: https://developer.mozilla.org...