Search found 31 matches

by ESODevKJ
Sat Sep 18, 2021 4:02 am
Forum: Questions & Answers
Topic: field on reusable part/add to file in server module
Replies: 5
Views: 16036

Re: field on reusable part/add to file in server module

adale wrote: Fri Sep 17, 2021 1:48 am Were you able to find out why your Server Module only had 1 record in the list?
If I remember correctly, before I called the SM I was only saving the first entry to the list. But I've not had any other issues when taking a list from the web to the SM since, sorry!
by ESODevKJ
Fri Jul 23, 2021 7:27 am
Forum: Questions & Answers
Topic: Changing Font Size and Prompt Title Bar Color
Replies: 1
Views: 7536

Changing Font Size and Prompt Title Bar Color

Hi all,

Does anyone know what property in the Theme Customizer changes the font size of the menu? And what property in the Theme Customizer changes the title bar of a prompt? Images below for clarification (ignore the terrible design, since there is almost no documentation on the themes this is all ...
by ESODevKJ
Wed Jul 14, 2021 10:53 pm
Forum: Questions & Answers
Topic: Custom Fonts VLFONE
Replies: 2
Views: 5991

Re: Custom Fonts VLFONE

It's a command handler, not a web page.
by ESODevKJ
Wed Jul 14, 2021 4:47 am
Forum: Questions & Answers
Topic: Custom Fonts VLFONE
Replies: 2
Views: 5991

Custom Fonts VLFONE

Hi All,

When customizing themes, you have the ability to choose any font that is installed on your machine. I confirmed this with Lansa Support and if you want to use a font that is not installed on your machine, you simply install it.

The problem I'm having is that, on my machine when I login to ...
by ESODevKJ
Fri Jul 09, 2021 4:36 am
Forum: Questions & Answers
Topic: VLFONE Theme Customization
Replies: 1
Views: 39152

VLFONE Theme Customization

EDIT: I had to set the fontsize of the webpage and then use the slider. For anyone interested the sample GOOGLE was very helpful.

Hi All,

I know there are shipped themes from Lansa and that I can create custom themes. Let's say I want to give the user the option to change font type, title bar ...
by ESODevKJ
Tue Jun 15, 2021 4:40 am
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Re: Frameworks and IBMi user profile

Hi Dino,

I'm all caught up with what you've done. I am stuck at same spot, i.e., the password being passed is correct, but keep getting the invalid password error message and retcode. Tried debugging CL program and manually changing password field and still same issue.

I also noticed, maybe it's ...
by ESODevKJ
Tue Jun 08, 2021 4:39 am
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Re: Frameworks and IBMi user profile

Yes,

Use Builtin(SET_SESSION_VALUE) With_Args(USER_AUDIT #PersistentString1.AsNativeString)

I have set for audit entries (works correctly).

I tried using string2/3 for another user/pw because I didn't want to interrupt what was already working. In debug I see username for string1/2 and pw in ...
by ESODevKJ
Tue May 25, 2021 11:10 pm
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Re: Frameworks and IBMi user profile

Anyone else have any luck figuring this out?
by ESODevKJ
Sat May 22, 2021 1:25 am
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Re: Frameworks and IBMi user profile

Thanks again Dino. I have the same code you have, but I'm not even getting the user/pw to the routine (the persiststrings are blank).

ServerSystem:

Mthroutine Name(InitializeServiceRoutine)
Define_Map For(*BOTH) Class(#Prim_dc.UnicodeString) Name(#PersistentString1)
Define_Map For(*BOTH) Class ...
by ESODevKJ
Fri May 21, 2021 11:54 pm
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Re: Frameworks and IBMi user profile

Thanks Dino, this is good stuff. I can't figure out how to bring the user/password to the routine.

* For example, you might consider altering LANSA’s audit user here using the
* SET_SESSION_VALUE built-in function:
Use Builtin(SET_SESSION_VALUE) With_Args(USER_AUDIT #PersistentString1 ...
by ESODevKJ
Fri May 21, 2021 6:08 am
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Re: Frameworks and IBMi user profile

Hi,

Do you mean this:

Call Pgm(FWLOGIN) Parm(#USERPROF #PASSWORD #CHANGEJOB #CHANGELIBL #HANDLE #RETCODE #ERRORMSG)

That links seems to be to capture user profile for audit purposes. That's already done, when user changes a file we are capturing the correct user profile. It's any job that goes ...
by ESODevKJ
Fri May 21, 2021 4:49 am
Forum: Questions & Answers
Topic: LANSA USER GROUP
Replies: 11
Views: 32612

Re: LANSA USER GROUP

I'm interested.
by ESODevKJ
Fri May 21, 2021 4:47 am
Forum: Questions & Answers
Topic: Frameworks and IBMi user profile
Replies: 16
Views: 37007

Frameworks and IBMi user profile

Hello All,

From LANSA:

* As another example, this is an IBM i CL program that validates a user profile and
* password and then changes the current IBM i job to run under that profile. It also
* contains outline code to change the job’s library list.
*
PGM PARM(&USERPROF &PASSWORD &CHANGEJOB ...
by ESODevKJ
Mon Apr 12, 2021 11:09 pm
Forum: Questions & Answers
Topic: Disabling Command Definition buttons
Replies: 5
Views: 57754

Re: Disabling Command Definition buttons

Thanks all for the input. I ended up modifying the avcheckauth routine in the IIP to just not have the commands shown if there was no security clearance for user.
by ESODevKJ
Fri Apr 09, 2021 3:51 am
Forum: Questions & Answers
Topic: Disabling Command Definition buttons
Replies: 5
Views: 57754

Re: Disabling Command Definition buttons

I agree, and maybe I'm missing something, but that's what's occurring.
by ESODevKJ
Fri Apr 02, 2021 8:55 am
Forum: Questions & Answers
Topic: Disabling Command Definition buttons
Replies: 5
Views: 57754

Disabling Command Definition buttons

Hi All,

I need to disable the command definition buttons at the top of an instance list. I used this code:

#avframeworkmanager.avChangeCommandState Objectname(#UOOBNM) Commandname('COMMAND_NEW') Enabled(false)

https://i.ibb.co/fxPt6Cy/instance4.png

which works, but when user clicks on an ...
by ESODevKJ
Wed Mar 31, 2021 9:13 am
Forum: Questions & Answers
Topic: field on reusable part/add to file in server module
Replies: 5
Views: 16036

Re: field on reusable part/add to file in server module

EDIT: Reading through this I realized I had the Inz_List. Problem solved.

Hi Dino,

Appreciate the response. The best solution for my particular needs was to just drop a #PRIM_LIST on my reusable part so the user would be able to add rows of data.

I ran into a different issue now: Even though ...
by ESODevKJ
Fri Mar 26, 2021 9:53 am
Forum: Questions & Answers
Topic: field on reusable part/add to file in server module
Replies: 5
Views: 16036

field on reusable part/add to file in server module

Hello All,

VLFONE question, I'm using 3 duplicates in my example but I actually need this done dozens if not hundreds of times:

Let's say I have the same field 3 times on my reusable part. I have to change the name like so:

Define_Com Class(#CUST.Visual) Name(#CUST) Parent(#Panel)
Define_Com ...
by ESODevKJ
Sat Feb 20, 2021 3:16 am
Forum: Questions & Answers
Topic: Set_Error in VLFONE
Replies: 3
Views: 8301

Re: Set_Error in VLFONE

Thanks for the ideas.

I ended up having to create a reusable part that I dropped on the view container and any messages that the server module returned were fed into the reusable part after the click event.

If anyone else is having an issue with this, happy to share what I did.
by ESODevKJ
Fri Feb 12, 2021 10:09 am
Forum: Questions & Answers
Topic: Set_Error in VLFONE
Replies: 3
Views: 8301

Set_Error in VLFONE

In my server module, I have a check for error for a field:

Begincheck

Change Field(#VALID) To(0)
Change Field(#WKSTR30) To(#ADDRNM)
Execute Subroutine(CHK_STR) With_Parms(#WKSTR30 #VALID)
If Cond('#VALID > 0')
Set_Error For_Field(#ADDRNM) Msgid(ESO8797) Msgf(ESOMSGS)
Endif
Endcheck

My issue is ...