Search found 642 matches

by jyoung
Sat Aug 11, 2018 12:42 am
Forum: Questions & Answers
Topic: VL IDE - Check Out Readonly Tables and Fields
Replies: 7
Views: 1756

VL IDE - Check Out Readonly Tables and Fields

We have new LANSA dev that we are getting everything hooked up with. We refreshed his repository with the master and have all the Tables and Fields but they are all "greyed" out, indicating they are on the server but not on his machine. When doing a checkout readonly on the Table, it only checks out...
by jyoung
Fri Aug 10, 2018 10:00 am
Forum: Questions & Answers
Topic: Record to be updated has been changed error
Replies: 5
Views: 1813

Re: Record to be updated has been changed error

The file is an IBMi other file in Sql Server. I read the docs regarding the cross update but I don't see how that could be happening. I have gone so far as to fetch the record first, then do the update in the next line and I still get the error. All if our tables are "other" tables imported from the...
by jyoung
Fri Aug 10, 2018 6:35 am
Forum: Questions & Answers
Topic: Record to be updated has been changed error
Replies: 5
Views: 1813

Re: Record to be updated has been changed error

We are running locally so its on Windows with SQL Server, the Table was imported from the IBM i. We can read and insert into the table, so the OAM can find it, we just cannot update or delete from it. Interestingly, I don't have this issue with tables that I have imported and compiled before SP2. Wh...
by jyoung
Fri Aug 10, 2018 1:32 am
Forum: Questions & Answers
Topic: Record to be updated has been changed error
Replies: 5
Views: 1813

Record to be updated has been changed error

I generated a new app using the new web web app templates and getting this error when trying to do an update. capture1.PNG The code that does the update is very simple srvroutine name(Save) session(*REQUIRED) group_map for(*INPUT) group(#Fields) field_map for(*OUTPUT) field(#STD_CODE) parameter_name...
by jyoung
Thu Aug 09, 2018 11:21 pm
Forum: Questions & Answers
Topic: Using Temp Tables
Replies: 3
Views: 1122

Re: Using Temp Tables

Hi Kevin, I ended up doing something like you suggested with a working list. I was concerned about the paging aspect, so used to doing it in the database, but it turned out easier then expected. Seems to be working pretty well. I am not familiar with the SPACE BIF, will look into that in case someth...
by jyoung
Thu Aug 09, 2018 12:20 am
Forum: Questions & Answers
Topic: Using Temp Tables
Replies: 3
Views: 1122

Using Temp Tables

I've an issue where I have to collect a large amount of data from different tables and be able to page and sort through it. Unfortunately joining all the data will not work due to how the data is organized. The only way I can think of handling this through the use of a temp or secondary table. My th...
by jyoung
Wed Aug 08, 2018 4:02 am
Forum: Questions & Answers
Topic: How to use Google Analytics in web page?
Replies: 2
Views: 1060

Re: How to use Google Analytics in web page?

The issue is that you cannot embed html or script directly into a LANSA web page. You need to use a component that will allow to do that. The components that immediately come to mind are the HtmlContainer or Widget. Don't think a Web Page (embedded external web page) will work like you want, but it ...
by jyoung
Tue Jul 31, 2018 11:28 pm
Forum: Questions & Answers
Topic: Should we use Material Design Style controls when developing VL Web application after V14 SP2?
Replies: 6
Views: 1874

Re: Should we use Material Design Style controls when developing VL Web application after V14 SP2?

I think there is a setting in the options that enable the MD controls by default. I think you need to uncheck that option. Not at my workstation so cannot confirm.

Joe
by jyoung
Fri Jul 27, 2018 3:11 am
Forum: Questions & Answers
Topic: Shared Repository Lists
Replies: 1
Views: 623

Shared Repository Lists

I have a dynamic list stored in the repository like this. Capture.PNG Since it is stored in the repository, I had thought that another LANSA Developer can retrieve and use that list. However, when we do a refresh of master objects, there is no option to select "Organizers" or "Lists" and the List do...
by jyoung
Mon Jul 23, 2018 11:35 pm
Forum: Questions & Answers
Topic: VLF-ONE SP2 Inactivity Timeout
Replies: 4
Views: 1556

Re: VLF-ONE SP2 Inactivity Timeout

We have never set the SessionTimeout parameter. begin_com role(*EXTENDS #PRIM_WEB) layoutmanager(#WebFormLayoutManager) icon(#FaviconImage) define_com class(#PRIM_ATLM) name(#WebFormLayoutManager) define_com class(#PRIM_ATLI) name(#VLF_One_AttachItem) parent(#WebFormLayoutManager) attachment(Center)...
by jyoung
Fri Jul 20, 2018 11:40 pm
Forum: Questions & Answers
Topic: VLF-ONE SP2 Inactivity Timeout
Replies: 4
Views: 1556

VLF-ONE SP2 Inactivity Timeout

We are getting some complaints that after the upgrade to SP2 users are getting timeout errors like this one. timeout.png Before the upgrade they said they could stay in the app for hours at a time. The docs https://docs.lansa.com/14/en//////lansa048/content/lansa/vlf2215.htm pointed to a couple plac...
by jyoung
Fri Jul 20, 2018 11:07 pm
Forum: Suggestions for Product Enhancements
Topic: Debugging improvements
Replies: 2
Views: 8492

Re: Debugging improvements

+1 for variable inspection on mouse over!
by jyoung
Wed Jul 18, 2018 4:14 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 5666

Re: VLF-ONE Merging Frameworks

I admit it, I punted.

Could not take it anymore, so I just manually added the App, Commands and Objects in the target framework.
by jyoung
Wed Jul 18, 2018 12:12 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 5666

Re: VLF-ONE Merging Frameworks

That worked, sort of. Now I have multiple objects listed mulitple objects.PNG Deleting 1 deletes both. Had to do the merge multiple times. First to get the application in, then to get the objects in. After that, when I ran the app, I got a numerous errors. errors.png Have to say, that message does n...
by jyoung
Tue Jul 17, 2018 3:38 am
Forum: Suggestions for Product Enhancements
Topic: VLWeb - Identifiable elements in the rendered HTML
Replies: 0
Views: 9869

VLWeb - Identifiable elements in the rendered HTML

I would really like there to be identifiable elements in the rendered HTML. The main case for this is for automated end-to-end and regression testing. Currently there is no way to identify an individual element for introspection by UI testing tools. For example, this element <input spellcheck="false...
by jyoung
Tue Jul 17, 2018 2:58 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 5666

VLF-ONE Merging Frameworks

In our VLF-ONE workflow, we create a copy of the framework that gets worked on, then when its complete it gets merged into the "master" framework file. This has been working out really well, until now at least. All of our merges up until now, have been new objects going into an EXISTING application....
by jyoung
Thu Jul 12, 2018 11:34 pm
Forum: Questions & Answers
Topic: VLF_Administrator application not workinga s expected
Replies: 5
Views: 1304

Re: VLF_Administrator application not workinga s expected

We don't use the avCheckAuth method. Inside the CheckUserCredentials of #VF_AC027O, we set the #UseFrameworkObjectAuthority to true. mthroutine name(CheckUserCredentials) options(*REDEFINE *RETURNS_MESSAGES) define_com class(#VF_ELRETC) name(#TemporaryReturnCode) #uSystemCommon.TraceEvent from(#COM_...
by jyoung
Tue Jul 10, 2018 11:39 pm
Forum: Questions & Answers
Topic: Sending mail using LANSA Intergrator
Replies: 1
Views: 740

Re: Sending mail using LANSA Intergrator

There are a couple places you can define the SMTP server. https://docs.lansa.com/14/en/lansa093/index.htm#lansa/intengb7_1540.htm First you can use the SET command to set the server https://docs.lansa.com/14/en/lansa093/index.htm#lansa/intengb7_2215.htm Or you can set it in the SMTPMailService prope...
by jyoung
Tue Jul 10, 2018 11:31 pm
Forum: Questions & Answers
Topic: Who is doing Git?
Replies: 12
Views: 3074

Re: Who is doing Git?

Did you do an upgrade of a slave setup?

If so, the option will not show up.

I did separate install for the VCS setup.
by jyoung
Wed Jun 27, 2018 12:09 am
Forum: Questions & Answers
Topic: Accessing MD List field values
Replies: 2
Views: 734

Re: Accessing MD List field values

Are you binding your list entries to a field? If so, you can use #l.Entry to get the entry number. begin_com role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignRed>) define_com class(#PRIM_TBLO) name(#LayoutList) define_com class(#PRIM_TBLO.Column) name(#LayoutListColumn1) DisplayPosition(1) Pa...