Search found 68 matches

by LANSAGuru
Wed Oct 23, 2019 2:35 am
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 26
Views: 715

Re: VL-IDE slow

Art, Someone told me that putting the power profile to Maximum or High Performance would help here. It seemed to, but on my machine with a local IDE it can seem a bit sluggish depending on what I am doing regardless of this setting. If for instance you have a VL Web Page with many Views attached (30...
by LANSAGuru
Thu Oct 03, 2019 3:23 am
Forum: Questions & Answers
Topic: When will LANSA Mobile on Windows 10 get fixed?
Replies: 5
Views: 373

Re: When will LANSA Mobile on Windows 10 get fixed?

Art, I am using LANSA Mobile as well. In what situations does it crash? Maybe there is a work around which can be developed...but I would need the details of what is occurring in your crash. In LANSA Mobile windows if you have a url with & in the url it will crash and attempt to do #sys_web.navigate...
by LANSAGuru
Wed Oct 02, 2019 7:19 am
Forum: Questions & Answers
Topic: DELETE from file with substring selection not working (RESOLVED)
Replies: 4
Views: 239

Re: DELETE from file with substring selection not working

don't forget to update the title for your post if it is resolved

original title (SOLVED)

Thanks,
Paul
by LANSAGuru
Wed Oct 02, 2019 1:14 am
Forum: Questions & Answers
Topic: DELETE from file with substring selection not working (RESOLVED)
Replies: 4
Views: 239

Re: DELETE from file with substring selection not working

#1 NEVER use a where clause in LANSA unless you are using SELECT_SQL why? because it will actually read every record in the file and the where is burned into the code as if statements inline #2 The statement you have is non debuggable because you can't step it Try doing a select with the same condit...
by LANSAGuru
Wed Oct 02, 2019 12:45 am
Forum: Questions & Answers
Topic: How do you decode a base64 string and turn it into a file (as pdf) and save it to a network drive
Replies: 5
Views: 313

Re: How do you decode a base64 string and turn it into a file (as pdf) and save it to a network drive

There are a couple of ways to do this. #1 move via FTP #2 mount a drive using QNTC I think the following are all true, but would google (google IBMi and QNTC) this and verify with IBM Same domain (IBMi must join the windows domain of the Wins Server user/pwd must be synchronized with the profile doi...
by LANSAGuru
Tue Oct 01, 2019 12:48 am
Forum: Suggestions for Product Enhancements
Topic: Free Form Text Block in Code Editor
Replies: 3
Views: 231

Re: Free Form Text Block in Code Editor

This seems like a good idea to me. +1
by LANSAGuru
Fri Sep 27, 2019 1:26 am
Forum: Questions & Answers
Topic: How do you decode a base64 string and turn it into a file (as pdf) and save it to a network drive
Replies: 5
Views: 313

Re: How do you decode a base64 string and turn it into a file (as pdf) and save it to a network drive

https://docs.lansa.com/14/en/lansa015/content/lansa/l4wtgu10_0020.htm Define_Com Class(#XPRIM_Binary) Name(#HashBytes) #HashBytes.FromBase64String String( #JsonObject.GetString('hash') ) In your case you need to get the BLOB into a string and then just execute the command above. That is the bit that...
by LANSAGuru
Fri Sep 27, 2019 1:13 am
Forum: Questions & Answers
Topic: Collection in collections
Replies: 3
Views: 209

Re: Collection in collections

Hard to know exactly what the problem is because #iMarkEntry.Marks<1> := #STDMKC_1 You have not provided the details for a .Mark or what the #STDMKC_1 represents. In the abstract your are nesting collections which should be possible. I think you will need to first get a pointer to the collection ins...
by LANSAGuru
Fri Sep 27, 2019 12:53 am
Forum: Questions & Answers
Topic: RPG: Passing lists
Replies: 5
Views: 260

Re: RPG: Passing lists

LANSA calling 3GL is pretty straight foward. See the CALL command with 3GL variation. Parameters are passed in order defined. Lists are special and pass 3 variable to the 3 GL, that list, number of enteries, current entry. https://docs.lansa.com/14/en/lansa015/index.htm#lansa/call_p.htm#CALL_PASS_LS...
by LANSAGuru
Fri Sep 27, 2019 12:25 am
Forum: Questions & Answers
Topic: How to delete cookie by clicking Sign Out button in VLF Version 13.
Replies: 7
Views: 238

Re: How to delete cookie by clicking Sign Out button in VLF Version 13.

If it is possible to change your applications which use cookies, you might want to consider using local storage instead. This can be accessed directly from your VL Web application and the VLF Web as well...so no widget and no JavaScript required. https://docs.lansa.com/14/en/lansa017/content/lansa/v...
by LANSAGuru
Fri Sep 27, 2019 12:21 am
Forum: Questions & Answers
Topic: How to delete cookie by clicking Sign Out button in VLF Version 13.
Replies: 7
Views: 238

Re: How to delete cookie by clicking Sign Out button in VLF Version 13.

#1 It appears the VLF Win part is not relevant from what I can tell...the screen shot shows a web browser running stand alone. Even if it is inside the Win VLF container (VLF inside VLF) which you don't show, that might just be confusing the issue. What you are showing is just a VLF Web with and exi...
by LANSAGuru
Thu Sep 26, 2019 12:45 am
Forum: Questions & Answers
Topic: RPG Calling LANSA and Receiving a List back
Replies: 3
Views: 206

Re: RPG Calling LANSA and Receiving a List back

Exchange only passes individual field values. It can not exchange an entire list. A list must be passed directly OR saved to disk as a csv style file and read on the other side. You would pass the IFS file to the other side via exchange. There are 2 ways to call LANSA from a 3GL. 1. Direct call - th...
by LANSAGuru
Thu Sep 26, 2019 12:23 am
Forum: Questions & Answers
Topic: How to delete cookie by clicking Sign Out button in VLF Version 13.
Replies: 7
Views: 238

Re: How to delete cookie by clicking Sign Out button in VLF Version 13.

#1 What is the actual url? #2 You are going to have to send a signal to the web page and then probably run some javascript to delete the cookies. Sending a signal to the web page will not be that simple....if you are using VL Web you can use local storage to monitor for the message on the other side...
by LANSAGuru
Thu Sep 26, 2019 12:16 am
Forum: Questions & Answers
Topic: Visual LANSA Context Menu
Replies: 7
Views: 311

Re: Visual LANSA Context Menu

Danny,

No rush. Of everything in VL Web when compared to WAMs...about the only thing I thought was too complicated was the use of Drop Downs and Drop Downs in lists particularly.

"Your skills are complete. Indeed you are powerful, as the Emperor has foreseen."

:-)

Thanks,
Paul
by LANSAGuru
Wed Sep 25, 2019 12:03 am
Forum: Questions & Answers
Topic: Visual LANSA Context Menu
Replies: 7
Views: 311

Re: Visual LANSA Context Menu

Danny, Does #PRIM_LIST.DropdownColumn support different entries for the possible drop down values per row? Does #PRIM_LIST.DropdownColumn then not require an RP to instantiate the drop down? Do you have a little sample you can post here or is there one shipped to look at? I have not had a chance to ...
by LANSAGuru
Fri Sep 20, 2019 2:04 pm
Forum: Questions & Answers
Topic: LANSA Mobile Container Issue
Replies: 2
Views: 166

Re: LANSA Mobile Container Issue

I just logged to the US Support Portal (I guess it is all 1 support portal now)...case #00758181 Included a simple test case quick export....been driving me crazy and wasted a bunch of time trying to work around the issue...I could go down the widget road, but that has its own issues. If I can avoid...
by LANSAGuru
Fri Sep 20, 2019 10:12 am
Forum: Questions & Answers
Topic: LANSA Mobile Container Issue
Replies: 2
Views: 166

LANSA Mobile Container Issue

#1 LANSA Mobile Container #2 VL Web app inside #3 Running Code like this... #sys_Web.Navigate Url(#wNewUrl) Target(New) After a lot of debugging, it appears that this fails with any url that includes an & Originally running this on Mobile Android and it was not working, could not figure out why, so ...
by LANSAGuru
Fri Sep 20, 2019 4:12 am
Forum: Questions & Answers
Topic: LANSA Mobile Container - detect external window closing
Replies: 0
Views: 348

LANSA Mobile Container - detect external window closing

In LANSA Mobile container, if running a VL Web Page and you do this ... #sys_Web.Navigate Url(#pPDF_URL) Target(New) It will launch the external resource in a new full screen window and give you a little arrow at the top to go back. Is there a way to detect that the user has actually pressed the ret...
by LANSAGuru
Thu Sep 19, 2019 1:25 pm
Forum: Questions & Answers
Topic: LANSA Mobile Container Testing [SOLVED]
Replies: 2
Views: 153

Re: LANSA Mobile Container Testing

James, A little kludgy, but it does seem to work OK. It goes without saying...it would be nice to have this be a property of #SYS_WEB or something like that. Low priority as long as we know how to do it. Works like a champ. In this case I really need to know if I am in or out of the container becaus...
by LANSAGuru
Thu Sep 19, 2019 9:30 am
Forum: Questions & Answers
Topic: LANSA Mobile Container Testing [SOLVED]
Replies: 2
Views: 153

LANSA Mobile Container Testing [SOLVED]

How do you test whether your VL Web page is running inside of the LANSA Mobile container or not.

I can't find this in the doco....

Thanks,
Paul