Search found 676 matches

by jyoung
Wed Jun 03, 2020 4:56 am
Forum: Questions & Answers
Topic: Add Boolean Field with Default True to LANSA File
Replies: 4
Views: 45

Re: Add Boolean Field with Default True to LANSA File

I can and will probably do that instead of trying to do some dynamic where clause. The issue is that this is in production and we have automated deployments so we will kick this off at night when no one is on the system. At which point I will have to log in from home and run the update script. Its m...
by jyoung
Wed Jun 03, 2020 2:59 am
Forum: Questions & Answers
Topic: Add Boolean Field with Default True to LANSA File
Replies: 4
Views: 45

Re: Add Boolean Field with Default True to LANSA File

That means setting the ASQN attribute which also means having to check for NULL or True for EVERY QUERY.

Ugh.

Was hoping to not have to do that, but it seems like the only way.

Thanks Art.
by jyoung
Tue Jun 02, 2020 3:34 am
Forum: Questions & Answers
Topic: Add Boolean Field with Default True to LANSA File
Replies: 4
Views: 45

Add Boolean Field with Default True to LANSA File

I have a LANSA built File that I am trying to add a Boolean field to with the default value of TRUE so that EVERY EXISTING RECORD in the File will be set to True. IsEnabled.PNG File.PNG However when I compile the Table with Rebuild / Drop and Load the Field is always (0) False. Table.PNG How do I ma...
by jyoung
Fri May 22, 2020 5:13 am
Forum: Questions & Answers
Topic: A Question about VL & Web Data Access
Replies: 3
Views: 261

Re: A Question about VL & Web Data Access

We do VLWeb and VLF-One only. Use a lot of Functions to share functionality across different things, but you cannot call them from VLWeb. So you end up having to have a Server Module to act as a "Proxy" and as Art mentioned you have to "exchange" them to the function. Took me a little bit to grok th...
by jyoung
Fri Apr 24, 2020 11:19 pm
Forum: Questions & Answers
Topic: VLWeb Completed Event for File Downloads
Replies: 2
Views: 1082

Re: VLWeb Completed Event for File Downloads

I tried doing the same with a a timer (instead of an event) where I show the loading image and start the timer on the button click and then on the timer tick, execute and hide the timer.

I never tried it with a blob, however. Will have to give that go.

Thanks,
Joe
by jyoung
Fri Apr 24, 2020 3:33 am
Forum: Questions & Answers
Topic: VLWeb Completed Event for File Downloads
Replies: 2
Views: 1082

VLWeb Completed Event for File Downloads

When downloading a file from a Server Module that uses the Response(*RESOURCE) parameter, is there any way to get a notification that download is completed? For example, here is a simple Server Module begin_com role(*EXTENDS #PRIM_SRVM) srvroutine name(DownloadCSV) response(*resource #Response) defi...
by jyoung
Tue Apr 21, 2020 1:46 am
Forum: Questions & Answers
Topic: Questions about Publish RESTful Web Services
Replies: 3
Views: 2641

Re: Questions about Publish RESTful Web Services

You may have to restart the subsystems. I have not tried this on the IBMi, only used it on my Windows dev box.

Joe
by jyoung
Sat Mar 28, 2020 12:26 am
Forum: Suggestions for Product Enhancements
Topic: Intelligent Check-Out
Replies: 3
Views: 2070

Re: Intelligent Check-Out

We've lost a good chunk of work before when multiple developers were sharing a task.

We filed a support request on it and they were able to duplicate it, but I think the only resolution was the advice to not share tasks.

Lesson learned, never ever ever share tasks. :D

Joe
by jyoung
Tue Feb 25, 2020 1:35 am
Forum: Questions & Answers
Topic: Anyone migrate from IBM i Slave to VCS Master?
Replies: 2
Views: 1222

Re: Anyone migrate from IBM i Slave to VCS Master?

We have been wanting to transition to a VCS for a long time now but have not for one single reason. The deployment story. We have a VLF-ONE app with hundreds of components at this point. Our iSeries has two LPARs so we have a DEV and PROD "instance". Currently we use Task Tracking on the DEV box to ...
by jyoung
Thu Feb 13, 2020 2:09 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2143

Re: VL-WEB and Complex design

Hi Klaus, Attached is a simple demo that I just threw together. It looks like this in the IDE Tree with Components.png The page as a PRIM_TRIM<ROOTCOMP> on it. The Root Component has 2 Child Components and the Root Component tells one of the Children to do something, in this case it increments a cou...
by jyoung
Tue Feb 11, 2020 7:52 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2143

Re: VL-WEB and Complex design

Hi Klaus, By root component I mean the composition root RP. Its the RP that holds contains the other smaller RPs and perhaps coordinates them. I did not outline that very well, but you could visualize it like your first list entry. In that first element, you have 3 components, the green outline, the...
by jyoung
Sat Feb 08, 2020 2:10 am
Forum: Questions & Answers
Topic: VL-WEB and Complex design
Replies: 9
Views: 2143

Re: VL-WEB and Complex design

Hey Klaus, You could decompose the app into multiple smaller components. Annotation-Edit.png I don't know if I would use a tree view in this case. Perhaps a root component with some sub components and the root gets added into a Data Table, Expanding Panel or even a PRIM_MD.List. Regarding all the li...
by jyoung
Fri Feb 07, 2020 8:38 am
Forum: Questions & Answers
Topic: LWEB_JOB and XXXPGMLIB and X_LANSA.PRO
Replies: 1
Views: 743

LWEB_JOB and XXXPGMLIB and X_LANSA.PRO

I was notified by our system administrator that we are constantly getting authority failures on our DEV iSeries for LWEB_JOB user DCXPGMLIB . It looks like I created the file over a year ago, but more likely I was on the phone with support when the file was created as we were trying to solve some is...
by jyoung
Thu Jan 30, 2020 3:43 am
Forum: Questions & Answers
Topic: Default DrawStyle of Non-Material Design vs Material Design Controls
Replies: 3
Views: 730

Re: Default DrawStyle of Non-Material Design vs Material Design Controls

I think this comes down to how Material Deign works. Checkout the Material Design color palettes at https://material.io/design/color/the-color-system.html#color-usage-palettes You basically have 2 colors; primary and secondary. These three colors also have variants i.e. medium, dark and light. From ...
by jyoung
Fri Jan 24, 2020 5:08 am
Forum: Questions & Answers
Topic: Error updating web job status
Replies: 6
Views: 829

Re: Error updating web job status

We were able to track this down to a CL call.

We a have a Server Module that calls a Function that in turn calls a CL program.
This particular CL builds a PDF and for whatever reason, changes the library list.

Including ***COMLIB into the library list of the CL resolved the issue.

Joe
by jyoung
Fri Jan 24, 2020 4:06 am
Forum: Questions & Answers
Topic: Error updating web job status
Replies: 6
Views: 829

Re: Error updating web job status

Hey Art, Have you made any progress on this? We have started seeing the same message. Additional Message Information Message ID . . . . . . : DCM2091 Severity . . . . . . . : 40 Message type . . . . . : Diagnostic Date sent . . . . . . : 01/23/20 Time sent . . . . . . : 10:51:17 Message . . . . : Er...
by jyoung
Wed Jan 15, 2020 3:28 am
Forum: Questions & Answers
Topic: #PRIM_MD.list
Replies: 4
Views: 503

Re: #PRIM_MD.list

Sorry about that :? How about using a Style, although you have to calculate the mod yourself. begin_com role(*EXTENDS #PRIM_WEB) Theme(#JoesTestTheme) define_com class(#PRIM_VS.Style) name(#Style1) BackgroundBrush(#Brush1) define_com class(#PRIM_VS.SolidBrush) name(#Brush1) Color(128:222:234) define...
by jyoung
Wed Jan 15, 2020 2:23 am
Forum: Questions & Answers
Topic: #PRIM_MD.list
Replies: 4
Views: 503

Re: #PRIM_MD.list

You need to set the AlternateItemThemeDrawStyle property on the List to a Theme drawstyle. For example: Create a Theme with a custom drawstyle. Here is a Theme named "JoesTestTheme" and a drawstyle named "AltRow". begin_com role(*EXTENDS #PRIM_THM) BaseTheme(MaterialDesignBlue) define_com class(#PRI...
by jyoung
Tue Jan 14, 2020 2:20 am
Forum: Questions & Answers
Topic: Question about Partitions and RESTful Web Services
Replies: 2
Views: 408

Re: Question about Partitions and RESTful Web Services

I don't know if this will help at all but, when you compile a Server Module with an API definition a "map" entry gets written into a conf file that is used at the SYSTEM level and not at the PARTITION level. In the LANSA Install/run/conf folder should be the webmodules.conf file. It's a JSON file th...
by jyoung
Wed Dec 11, 2019 9:19 am
Forum: Questions & Answers
Topic: Where to Start?
Replies: 8
Views: 821

Re: Where to Start?

I think it all depends on your frame of reference and what you "grew up" on. I came from the .NET world of web development and thought wow, this is much easier then all the HTML, CSS, Javascript, C#, Application Frameworks and Libraries you have to know. I've seen RPG programmers coming into LANSA g...