Search found 652 matches

by jyoung
Thu Feb 28, 2019 2:58 am
Forum: Questions & Answers
Topic: Ancestor fields in group_by and def_list
Replies: 6
Views: 2718

Ancestor fields in group_by and def_list

If I define a component that has three fields in it. begin_com role(*EXTENDS #PRIM_PANL) displayposition(1) height(270) left(0) tabposition(1) top(0) width(500) layoutmanager(#Layout1) * ================================================================================ * LAYOUT * =====================...
by jyoung
Wed Feb 27, 2019 1:35 am
Forum: Questions & Answers
Topic: Questions about Publish RESTful Web Services
Replies: 1
Views: 1441

Re: Questions about Publish RESTful Web Services

Docs are pretty lacking at the moment. This topic may be of help some if you have not found it. https://forum.developer.lansa.com/viewtopic.php?f=3&t=1915&p=5089 Regarding the debugging, you can debug, but not like you are probably used to. I got this trick from Support while tying to debug my own s...
by jyoung
Sat Feb 16, 2019 7:25 am
Forum: Questions & Answers
Topic: Importing IBM i Duplicate Fields
Replies: 3
Views: 1775

Re: Importing IBM i Duplicate Fields

Hey Chad,
Good to know. I was concerned I was going to have to something odd, because I could not find any indication of how the field RPU001 gets mapped back to RPU on the iSeries. I guess this is something that LANSA just knows and not something we see.

Thanks for the help.
Joe
by jyoung
Sat Feb 16, 2019 3:31 am
Forum: Questions & Answers
Topic: Importing IBM i Duplicate Fields
Replies: 3
Views: 1775

Importing IBM i Duplicate Fields

This is my first experience with this type of situation and I would like to know more about how this works and if I am being setup for some issues. We have a File on the IBM i that I previously imported that contains a Field named RPU that is a Decimal(15). I just imported another File that has a Fi...
by jyoung
Fri Feb 08, 2019 9:28 am
Forum: Questions & Answers
Topic: Detecting Record Lock
Replies: 5
Views: 2020

Re: Detecting Record Lock

Digging through the docs and I found the *DBMS_RECORD_LOCKED System Variable. https://docs.lansa.com/14/en/lansa015/index.htm#lansa/ladtgub4_0115.htm On the the surface this appears that it could be the answer. The docs https://docs.lansa.com/14/en/lansa015/content/lansa/specfilklists_2.htm use it a...
by jyoung
Fri Feb 08, 2019 8:20 am
Forum: Questions & Answers
Topic: Double click on list can't show loading image
Replies: 8
Views: 2560

Re: Double click on list can't show loading image

Are you using Execute or ExecuteAsync in your call to the Server Module? If you are doing it synchronously (using Execute) then the browser will lockup and you will not see the image. Your example with the large loop, is simulating a synchronous execution. If you are using an async solution (Execute...
by jyoung
Fri Feb 08, 2019 4:54 am
Forum: Questions & Answers
Topic: Detecting Record Lock
Replies: 5
Views: 2020

Detecting Record Lock

Is there anyway to detect that a record is locked when you fetch it? We have a case where a user used a 5250 screen to view a record. That user then went into our VLF-ONE app and tried to change the record only to have the app eventually crash seeming because of the lock. Question is then, how do yo...
by jyoung
Fri Feb 08, 2019 4:31 am
Forum: Questions & Answers
Topic: Options for "Modal" Popup VL-WEB
Replies: 3
Views: 1680

Re: Options for "Modal" Popup VL-WEB

Hey Art, You may want to make sure you are getting the latest script. i.e. do a hard refresh. I use popups like this all the time and every time time it seems like it does not work its because the browser had an outdated script. Here is a simple sample to compare with. The only way to close the popu...
by jyoung
Fri Feb 08, 2019 2:48 am
Forum: Questions & Answers
Topic: Keeping the position of scroll bar in a list
Replies: 2
Views: 1489

Re: Keeping the position of scroll bar in a list

Not sure what you mean by a browse list, but if you are using a PRIM_LIST, you can use the VerticalScrollTo method. https://docs.lansa.com/14/en/lansa016/prim_list_verticalscrollto.htm Since you are deleting a row and refreshing the list, you may have to store an index or something so you can get th...
by jyoung
Sat Feb 02, 2019 1:20 am
Forum: Questions & Answers
Topic: Edit/Display text as HTML in VLF command Handler
Replies: 3
Views: 1667

Re: Edit/Display text as HTML in VLF command Handler

Hi and Welcome!

There is a VLF-ONE demo that uses QuillJS embedded in a widget.

https://docs.lansa.com/14/en/lansa048/c ... 8_7000.htm

You can find the implementation in DF_Note_QuillInterface widget and the DF_Note_NoteDetailPanel RP.

Hope this helps.
Joe
by jyoung
Fri Jan 25, 2019 9:48 am
Forum: Questions & Answers
Topic: Bearer Token in CLOB
Replies: 2
Views: 1734

Re: Bearer Token in CLOB

I initially started this using a work field defined in the repository. I created a new field as a string type and had to supply a length, but really had no idea what to put there. That immediately made me concerned about blowing the length of the field, so I started looking at CLOBs. I was wanting s...
by jyoung
Thu Jan 24, 2019 8:19 am
Forum: Questions & Answers
Topic: Bearer Token in CLOB
Replies: 2
Views: 1734

Bearer Token in CLOB

I'm integrating with an API that does bearer authentication. I need to store the bearer token so that I can use it in subsequent requests. Because the token can be pretty large, I have created a CLOB based field to handle it (wk_WorkforceAuthToken). if ((#Request.Response.IsSuccessfulRequest) *AndIf...
by jyoung
Thu Jan 24, 2019 2:05 am
Forum: Questions & Answers
Topic: Get All Data Areas in Library
Replies: 2
Views: 1545

Get All Data Areas in Library

Is there a way to get all the data areas in a library? Something like select * from ????? where DTALIB = 'MYLIB' I am wanting to add a simple "configuration" editor in our VLF-ONE Admin application. We have a library with some data areas that we keeps some config settings and I want to be able to ch...
by jyoung
Fri Dec 28, 2018 2:11 am
Forum: Questions & Answers
Topic: Publishing Web Services
Replies: 14
Views: 9774

Re: Publishing Web Services

Finally got this hooked up and working. First off, if you are using an IBM i, you MUST setup a Windows / Linux web server to act as a front end. I followed these instructions and it went well. https://docs.lansa.com/14/en/lansa085/index.htm#lansa/lwbengh5_0020ws.htm Secondly, after talking with supp...
by jyoung
Sat Dec 22, 2018 1:17 am
Forum: Questions & Answers
Topic: PRIM_MD.Dropdown Changed
Replies: 3
Views: 4628

Re: PRIM_MD.Dropdown Changed

Could be.

I have 142030 installed and the Changed event kept firing.

Will do some further digging.

Thanks,
Joe
by jyoung
Fri Dec 21, 2018 2:15 am
Forum: Questions & Answers
Topic: Menu MD
Replies: 2
Views: 5657

Re: Menu MD

I think there is nothing wrong with using the old controls.
I use the Tab Folder Navigator Style because there is not a MD version.

You could always try to create one, but IMHO, I would just use the old ones.

Joe
by jyoung
Thu Dec 20, 2018 4:20 am
Forum: Questions & Answers
Topic: PRIM_MD.Dropdown Changed
Replies: 3
Views: 4628

Re: PRIM_MD.Dropdown Changed

Just got bit by this again. I created a support ticket for this back on 10/18 and it was replicated and it was "Accepted as Correction" A workaround is to check if the dropdown has focus in the changed event. Evtroutine Handling(#TestField.Changed) If (#TestField.Focus) #STD_STRNG := "Test Field Cha...
by jyoung
Fri Dec 14, 2018 1:36 am
Forum: Questions & Answers
Topic: EPC142030 Missing IDE Features
Replies: 5
Views: 4406

Re: EPC142030 Missing IDE Features

I get that this is not product support, but I personally don't like to get support involved until there is a KNOWN issue. I would rather them handle high priority, production down issues, then dealing with things like this. The other problem, is that this is the ONLY place to talk to other Visual LA...
by jyoung
Fri Dec 14, 2018 1:21 am
Forum: Questions & Answers
Topic: Publishing Web Services
Replies: 14
Views: 9774

Re: Publishing Web Services

Hi Pierre, I am still having problems with running locally, now I am getting random x_run errors with not much (any) logging. Oddly enough, yesterday I talked with some folks at LANSA Chicago and they mentioned that you cannot run this on the IBM i. The reason being is that the web server is CGI bas...
by jyoung
Thu Dec 13, 2018 2:04 am
Forum: Questions & Answers
Topic: iSeries QSECOFR and PSO
Replies: 2
Views: 3413

Re: iSeries QSECOFR and PSO

Same here, normally part of QPGMR.

I was really concerned about the security issues, did not want to go back down that road.

Thanks Art!