Search found 642 matches

by jyoung
Tue Apr 30, 2019 11:34 pm
Forum: Questions & Answers
Topic: New To Visual Lansa
Replies: 13
Views: 11019

Re: New To Visual Lansa

Hi and Welcome, Do you have an idea where you are getting hung up? Have you seen the developer resources? https://developer.lansa.com/resources/ Don't hesitate to post a question here, the folks here have always been supportive and helpful. I've asked more than my fair share of questions. :D The LAN...
by jyoung
Mon Apr 29, 2019 11:08 pm
Forum: Questions & Answers
Topic: VLF-ONE IBM i Change Password and Password Expiration (solved)
Replies: 7
Views: 8759

Re: VLF-ONE IBM i Change Password and Password Expiration

Hey Mark, Thanks for all the info! Just to confirm, the "IBM i User Profile Management" group box only shows up if I have VLF-WIN checked. My assumption then is that this would not work for VLF-ONE, but you are saying that the VLF-WIN setting works for VLF-ONE? Capture1.PNG Capture2.PNG Thanks, Joe
by jyoung
Sat Apr 27, 2019 1:40 am
Forum: Questions & Answers
Topic: VLF-ONE IBM i Change Password and Password Expiration (solved)
Replies: 7
Views: 8759

VLF-ONE IBM i Change Password and Password Expiration (solved)

In our framework we use a custom IIP to validate the user against the IBM i. This IIP extends VF_AC027O, which we copied from the demo UF O_LOGON. This component has methods to "ChangePassword" and "CheckPasswordExpiry". In the comments of those methods, it mentions that you have to allow the passwo...
by jyoung
Tue Apr 23, 2019 11:40 pm
Forum: Questions & Answers
Topic: left click menu bar menu
Replies: 2
Views: 18363

Re: left click menu bar menu

You may want to contact support with this.
The MenuBar Popup is doing the same thing to me, and the doc sample does it too.
https://docs.lansa.com/14/en/lansa016/p ... enubar.htm

Have not been able to find a way to stop or correct it.
Capture.PNG
Capture.PNG (4.09 KiB) Viewed 18339 times
Joe
by jyoung
Fri Apr 19, 2019 6:21 am
Forum: Questions & Answers
Topic: VLWeb PRIM_MD.DropDown Click Event
Replies: 1
Views: 10941

Re: VLWeb PRIM_MD.DropDown Click Event

Try as I may, I could not find an alternative control or display mechanic to handle this that I liked. So I punted, and made my own. 8-) With a combination of PRIM_MD.Edit, PRIM_MD.List and the regular PRIM_PPNL popup, I made it work just like a standard PRIM_MD.DropDown. The only "weird" thing to f...
by jyoung
Thu Apr 18, 2019 11:45 pm
Forum: Questions & Answers
Topic: GET_MESSAGE Scope
Replies: 2
Views: 11212

Re: GET_MESSAGE Scope

Thanks Danny!

Using the *RECEIVES_MESSAGES on the GetMessages method solves it. Never used those particular options before. Still have a lot to learn. :D

Thanks again.
Joe
by jyoung
Thu Apr 18, 2019 7:13 am
Forum: Questions & Answers
Topic: GET_MESSAGE Scope
Replies: 2
Views: 11212

GET_MESSAGE Scope

Is getting a message with GET_MESSAGE scoped to the routine that issued the message? I have an insert statement as such insert fields(#EP0001F1Fields) to_file(EP0001F1) io_error(*NEXT) val_error(*NEXT) if_status is(*OKAY) #SYS_APPLN.TraceMessageData( 'CreateWorkforceLink - Link Created - Location: &...
by jyoung
Wed Apr 17, 2019 2:49 am
Forum: Questions & Answers
Topic: VLWeb PRIM_MD.DropDown Click Event
Replies: 1
Views: 10941

VLWeb PRIM_MD.DropDown Click Event

Anyone know how to "fake" a Click event with PRIM_MD.DropDown. I have a dropdown that has a few options. #STD_TEXT := 'This Week' #STD_TEXTS := 'THIS_WEEK' #DropDownList.Items.Add value(#STD_TEXTS) caption(#STD_TEXT) #STD_TEXT := 'Last Week' #STD_TEXTS := 'LAST_WEEK' #DropDownList.Items.Add value(#S...
by jyoung
Wed Apr 17, 2019 1:31 am
Forum: Questions & Answers
Topic: Download a CSV with Column Headings
Replies: 2
Views: 9704

Re: Download a CSV with Column Headings

Hey Art, is this in VLWeb where the CSV is downloaded via a browser? If so, we do this by using *RESOURCE response. srvroutine name(Download) response(*RESOURCE #response) session(*REQUIRED) * write the header #response.ContentString += ('"Week Ended","Check Number","Days Worked","Hours Worked","Gro...
by jyoung
Fri Apr 12, 2019 11:48 pm
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18929

Re: ODBC Error Invalid Column Name when adding new Field

That confirms what I thought I was happening and what the fix was. I typically don't work with LANSA created Tables, so I normally only have "Rebuild OAM" selected and as you mentioned this is what caused the issue. I would be really nice IMHO, if the compile errored or warned me that something was ...
by jyoung
Fri Apr 12, 2019 1:26 am
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18929

Re: ODBC Error Invalid Column Name when adding new Field

Ok, so this kinda thing is super frustrating. I removed the Field and was still getting the error. Thinking that something had to be cached somewhere, I killed of all the processes and rebooted the PC. Still same error WITHOUT the Field in the File. All the while I am compiling with the drop / reloa...
by jyoung
Thu Apr 11, 2019 11:20 pm
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18929

Re: ODBC Error Invalid Column Name when adding new Field

Hey Chad, I did not think about the collation, after all this is a LANSA created database and LANSA created Table with LANSA created Fields. Nothing changed. I ran the query to check the collation and got SQL_Latin1_General_CP1_CI_AS so it should be case insensitive and accent sensitive. Nothing out...
by jyoung
Thu Apr 11, 2019 2:03 am
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18929

ODBC Error Invalid Column Name when adding new Field

I have a LANSA defined table that I am trying to add a Field "LastName" to. The table has data in it that I don't want to loose, I just need to add a column to it. When compiling the Table, if I choose Rebuild Table, Rebuild indexes and views, Rebuild OAMs, the new column does not show up in the tab...
by jyoung
Thu Apr 11, 2019 1:55 am
Forum: Questions & Answers
Topic: Colspan + Rowspan within a #PRIM_LIST
Replies: 3
Views: 5549

Re: Colspan + Rowspan within a #PRIM_LIST

Look into the List Cell Interface
https://docs.lansa.com/14/en/lansa016/p ... design.htm

It allows you to customize the display of an individual cell with multiple fields.

In your case, your second column could contain the panel described by Chad.

Hope this helps,
Joe
by jyoung
Tue Mar 26, 2019 8:45 am
Forum: Questions & Answers
Topic: VLF-ONE Check Availability to Command in custom Instance List
Replies: 2
Views: 6652

Re: VLF-ONE Check Availability to Command in custom Instance List

Ahh, I forgot about that user/object type name.

Will give that a go.

Thanks,
Joe
by jyoung
Tue Mar 26, 2019 2:48 am
Forum: Questions & Answers
Topic: VLF-ONE Check Availability to Command in custom Instance List
Replies: 2
Views: 6652

VLF-ONE Check Availability to Command in custom Instance List

In VLF-ONE the framework manager has an avCheckAvailibity method to check if the user has access to a particular object. I am looking for a way to check if the user has access to a specific Command in that object. Is there anyway to use avCheckAvailablity with Commands? The docs here https://docs.la...
by jyoung
Tue Mar 19, 2019 3:29 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 5620

Re: VLF-ONE Merging Frameworks

Hey Balaji, By Commands, you mean new command definitions right? Not Command Handlers / Filters. In this case, all the command are already in the framework ( the handlers are not). When I try to merge JUST the Business Objects BEFORE the Application, the Merge Tool does not know what their parent is...
by jyoung
Sat Mar 16, 2019 3:01 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 5620

Re: VLF-ONE Merging Frameworks

This bit me in the behind yet again. This happens after using the MergeTool. Capture.PNG I added the Application (without the Objects) to avoid the previously mentioned issues. Then added the Objects to the newly created Application. Initially everything looked ok, until a coworker checked it out an...
by jyoung
Wed Mar 13, 2019 1:19 am
Forum: Questions & Answers
Topic: VLF ONE #PRIM_MD.Input caption styling
Replies: 5
Views: 5172

Re: VLF ONE #PRIM_MD.Input caption styling

I would like to know how to do this as well. I find Theme customization super confusing. Between the ThemeCustomizer(VF_AC033O), VLWeb(PRIM_THM) and the Framework itself, its hard to know which to use and when. EDIT You can change the caption color with capture.png But I can't figure out how to do i...
by jyoung
Sat Mar 09, 2019 1:29 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 4660

Re: Decimal / Percent Conversion and Display

Ahh, I thought it may be a javascript thing. I submitted a support ticket because it was driving me crazy. I'll add your info to it. It dawned on me late last night, that I can do the conversion on the server and avoid the issue. Management is concerned that a user may mis-enter a decimal point whic...