Search found 134 matches

by Dino
Sun Aug 01, 2021 7:54 am
Forum: Questions & Answers
Topic: VLF Web session is not working
Replies: 1
Views: 12

Re: VLF Web session is not working

You just need to start the session. Usually, you start with a dialog asking for the user, password, validate that and if all is good, you start the session. then, your server routines that require session are enabled. for example, using some of your code, this could be the web page, notice that in t...
by Dino
Fri Jul 23, 2021 10:02 am
Forum: Questions & Answers
Topic: VLF-ONE Framework: Pop Up window - location & size
Replies: 3
Views: 100

Re: VLF-ONE Framework: Pop Up window - location & size

How is defined the pop_up component in the BEGIN_COM line? what is the class? if the class is not a #VF_* class, then you wont have access to use the VF virtual clipboard inside the pop up. But you can do that in the component that calls the pop_up. For example, if the user change the window size, o...
by Dino
Fri Jul 23, 2021 9:45 am
Forum: Questions & Answers
Topic: Linear Regression Calculations
Replies: 2
Views: 70

Re: Linear Regression Calculations

While built-ins still supported and in use for several things, we now have intrinsic functions, which depends on the type of field and are much faster and easier to use. You just need to add a dot after the field and after a brief second Visual LANSA will display in a drop down all the different int...
by Dino
Tue Jul 20, 2021 10:59 pm
Forum: Questions & Answers
Topic: VLF-One/VLF-Web Invalid Session
Replies: 1
Views: 74

Re: VLF-One/VLF-Web Invalid Session

What exactly message says in the screen? While all server modules created by the VLF-ONE assistants will have this line at the beginning: Begin_Com Role(*EXTENDS #PRIM_SRVM) Sessionidentifier('VLFONE') which makes them all to share the same session identifier, if you happen to create additional serv...
by Dino
Wed Jul 07, 2021 5:10 am
Forum: Questions & Answers
Topic: Multiple form wrappers in same screen
Replies: 1
Views: 182

Re: Multiple form wrappers in same screen

You can generate individual wrappers for each destination screen you want, then combine the code of those several form wrappers to get all the correct ID_IFLDxxxx and ID_TEXTxxxx and to make your complete screen that mixes it all. Before to combine, you may want to change using a replace all, the fi...
by Dino
Sat Jun 26, 2021 9:51 pm
Forum: Questions & Answers
Topic: trial download is failing
Replies: 3
Views: 202

Re: trial download is failing

Hi Jabid

Please contact LANSA support to assistance with the installation of the trial

https://lansa.com/support/register/helpdesk.html

Regards
by Dino
Sat Jun 26, 2021 6:47 am
Forum: Questions & Answers
Topic: trial download is failing
Replies: 3
Views: 202

Re: trial download is failing

Hi Jabid

In order to install the trial version, you need to use a corporative email, not a free one (like gmail,hotmail,etc). That is most times the reason for that particular error.
If you contact your representative, they can assist you with the installation as well.

Regards,
by Dino
Sat Jun 26, 2021 3:46 am
Forum: Questions & Answers
Topic: vlweb MD TabSheet
Replies: 4
Views: 1758

Re: vlweb MD TabSheet

Revising this post, my steps to make it work are: 1. Drag the Material Tabs component, it comes without tab sheets, just the 3 tabs. 2. Somewhere below it, I drag the old Tabs component, it comes with 2 tab sheets and his own tab header. I make it even adding one more sheet for example. 3. Now, if I...
by Dino
Wed Jun 23, 2021 7:16 am
Forum: Questions & Answers
Topic: How to know which "remote port" from server routine?
Replies: 2
Views: 214

How to know which "remote port" from server routine?

Is there any way to know which "remote port", as seen on netstat -cnn , are we using in our server routine? If I start a web page that calls a server routine several times, each one creates a separated connection, with the same IP, been the difference the remote port. I would like to capture that. I...
by Dino
Wed Jun 16, 2021 11:10 am
Forum: Questions & Answers
Topic: content-type application/x-www-form-urlencoded
Replies: 4
Views: 247

Re: content-type application/x-www-form-urlencoded

The first one: Define_Com Class(#XPRIM_HttpRequest) Name(#Request) (....) #Request.Content.ContentInfo.MediaType := 'application/x-www-form-urlencoded' #Request.DoPost Url(#Url) request.headers.log reports: ---------------------------------------------------------- | | HEADER NAME | HEADER VALUE | -...
by Dino
Wed Jun 16, 2021 8:59 am
Forum: Questions & Answers
Topic: content-type application/x-www-form-urlencoded
Replies: 4
Views: 247

Re: content-type application/x-www-form-urlencoded

it works!

thank you!
by Dino
Wed Jun 16, 2021 2:47 am
Forum: Questions & Answers
Topic: content-type application/x-www-form-urlencoded
Replies: 4
Views: 247

content-type application/x-www-form-urlencoded

Hi

Any suggestion how to change the content-type in a request using #XPRIM_HttpRequest from application/json to application/x-www-form-urlencoded ?
by Dino
Wed Jun 16, 2021 1:09 am
Forum: Questions & Answers
Topic: API REST with LI 14.0
Replies: 5
Views: 336

Re: API REST with LI 14.0

got any trace?
by Dino
Tue Jun 15, 2021 10:58 pm
Forum: Questions & Answers
Topic: Form V14SP2 : How to launch a browser from a form
Replies: 3
Views: 254

Re: Form V14SP2 : How to launch a browser from a form

Agree, just a quick suggestion to that, to open the page in the current default browser instead of just chrome

Code: Select all

* rundll32 url.dll,FileProtocolHandler https://www.lansa.com
Use Builtin(SYSTEM_COMMAND) With_Args('H' 'rundll32' 'url.dll,FileProtocolHandler' 'www.LANSA.COM') To_Get(#STD_NUM)
by Dino
Tue Jun 15, 2021 10:52 pm
Forum: Questions & Answers
Topic: checking VLF-ONE permissions
Replies: 4
Views: 244

Re: checking VLF-ONE permissions

I hope somebody will have that, but if not... Another idea, could be to submit a hidden command in the vlf https://docs.lansa.com/15/en/lansa048/index.htm#lansa/lansa048_3610.htm#lansa048_3610 which will be in loop, with a very short delay between iterations and check for records in a file that need...
by Dino
Tue Jun 15, 2021 5:22 am
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 1289

Re: Frameworks and IBMi user profile

Notice that if you get that error is in the API. I kept having it for a few trial runs, double check: - try to call the api directly from the command line (use the reduced one with 2 parameters), use ' ' around the password when doing the call, this step should work perfectly before the next. - chec...
by Dino
Mon Jun 14, 2021 11:40 pm
Forum: Questions & Answers
Topic: checking VLF-ONE permissions
Replies: 4
Views: 244

Re: checking VLF-ONE permissions

Depending how you setup your VLF-ONE (User and Authorities Tab for VLF), one of the options is to store this information in the VFPPF06 and VFPPF07, other an XML file. Checking the data in those files, looks like that particular information is encoded/encrypted... Just thinking at loud, you could us...
by Dino
Mon Jun 14, 2021 1:54 am
Forum: Questions & Answers
Topic: Screen Wrapper, VLF-ONE RAMP-TS, SENDKEY KeyEnter?
Replies: 2
Views: 160

Re: Screen Wrapper, VLF-ONE RAMP-TS, SENDKEY KeyEnter?

(deleted).

You are correct, 'Enter', capital and lowercase, between quotes. thank you
by Dino
Sun Jun 13, 2021 1:36 am
Forum: Questions & Answers
Topic: New option"Install Import" in the Creating a patch window in Deployment Tool
Replies: 1
Views: 2363

Re: New option"Install Import" in the Creating a patch window in Deployment Tool

Hi Maybe the documentation has been recently updated, but now there is a detail for "Install Import", and it says that it imports the standard (the LANSA standard) imports and the LANSA repository definitions, so I understand is basically the LANSA required things in the repository that you normally...