Search found 89 matches

by lueu
Fri Nov 24, 2023 12:36 pm
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Set attr from another BO in form without using shortcut
Replies: 2
Views: 7074

Re: Set attr from another BO in form without using shortcut

PERFECT! Just what I was looking for! Thank you so much! :D
by lueu
Fri Nov 24, 2023 10:22 am
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Set attr from another BO in form without using shortcut
Replies: 2
Views: 7074

[SOLVED]Set attr from another BO in form without using shortcut

Hello all good helpers :) Could anyone point me to how to go about to achieve this in AwareIM? 1. User chooses an ID on a form on BO1(got this one settled) 2. Check in BO2 which name belongs to this ID 3. Put this name from BO2 (or actually from BO1, but the same as I find in BO2) in the name attrib...
by lueu
Mon Nov 06, 2023 7:36 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

BLOMASKY wrote: Sun Nov 05, 2023 3:37 pm
If you want the year try SESSIONVARS.currentYear = YEAR(CURRENT_DATE)


Bruce
Thanks Bruce, this actually seems to work when put in LoginNotification.

A big thank you to everyone who takes the time to answer my (probably sometimes stupid) questions! :D
by lueu
Mon Nov 06, 2023 7:14 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

BLOMASKY wrote: Sun Nov 05, 2023 3:37 pm Aware is very rich with FUNCTIONS. They are at the end of the user guide and there are quite a few handling date and time.

If you want the year try SESSIONVARS.currentYear = YEAR(CURRENT_DATE)


Bruce
Thanks, I will try that. Think this might be a combination I haven't tried :D
by lueu
Mon Nov 06, 2023 7:13 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

Thanks, I did look at the functions, I just can't find examples that shows how to set the Initial value to CURRENT_YEAR
by lueu
Fri Nov 03, 2023 2:00 pm
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

So I got my input control working with the session object, except for the part with the current year as initial value. I've tried different combinations for current year, year, timetstamp and so on, but nothing gives me the year as a value in my input control, and of course not any results. If I cho...
by lueu
Fri Nov 03, 2023 10:56 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

Okey, so you mean I should set initial value by saying "CURRENT_YEAR" "GET_DATE" or something like that? Then I need to set it as a string and do some converting to compare with the years I have in my query. The query returns data for several years, and the user should be able to get only one year a...
by lueu
Fri Nov 03, 2023 10:00 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

PointsWell : I did the session object, but setting the initial value to the current year will not get me the correct data when 2024 starts, unless I go in there and manually changes initial value to 2024. How to solve this? Also - yes, it might have become more complicated than necessary, but this ...
by lueu
Thu Oct 26, 2023 8:59 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

Thanks, Union! Need to ask what 'BAS_Guest@@' is? I am trying to see how I can alter this to fit my needs, but I'm not there yet. I can try to explain better what I am looking for, because I am not sure if what you are doing here can be transferred to what I am trying to do. I had a stored procedure...
by lueu
Wed Oct 25, 2023 8:10 am
Forum: General discussion and questions about Aware IM
Topic: Set attribute based on when the user logges in?
Replies: 16
Views: 122928

Re: Set attribute based on when the user logges in?

Notice that I forgot to answer this one! Thanks for all answers, I managed to set up the LoginNotification based on your help :D Now I have another question about this notification. I notice that there is no UserID attribute, and I think I need one to compare the user ID for logged in user against R...
by lueu
Thu Oct 19, 2023 1:19 pm
Forum: General discussion and questions about Aware IM
Topic: Change icon color on form buttons?
Replies: 11
Views: 41689

Re: Change icon color on form buttons?

If your custom CSS doesn't appear in the editor, it could be because you typed something wrong, or the CSS file is not loading for some reason. Try to use CTRL+SHIFT+R to force a reload and emptying of cache. This is exactly what happens, it doesn't appear, so I just need figure out where I went wr...
by lueu
Thu Oct 19, 2023 7:12 am
Forum: General discussion and questions about Aware IM
Topic: Change icon color on form buttons?
Replies: 11
Views: 41689

Re: Change icon color on form buttons?

If you only want to change one button icon, you can just give the button a class in the Operation window like "coolButton". Then just put this in your CSS file: .coolButton .k-sprite{opacity:1;} Joben, I can't seem to target the button correctly. Figured I'd try adding the class to one specifc butt...
by lueu
Wed Oct 18, 2023 11:24 am
Forum: General discussion and questions about Aware IM
Topic: Change icon color on form buttons?
Replies: 11
Views: 41689

Re: Change icon color on form buttons?

joben wrote: Wed Oct 18, 2023 11:17 am Opacity is the culprit.

Aha! I will try this, thank you! And yes, it's more than one button, I have a couple of forms that needs the same buttons.
by lueu
Wed Oct 18, 2023 11:22 am
Forum: General discussion and questions about Aware IM
Topic: Change icon color on form buttons?
Replies: 11
Views: 41689

Re: Change icon color on form buttons?

Also it seems like the changes i do on the icons don't stick.. :cry:

I use the "Icon i represented by CSS class" option, and even though i change to fa-check, it remains fa-check-circkle.
wrong_icon.png
wrong_icon.png (54.11 KiB) Viewed 41676 times
by lueu
Wed Oct 18, 2023 10:29 am
Forum: General discussion and questions about Aware IM
Topic: Change icon color on form buttons?
Replies: 11
Views: 41689

Re: Change icon color on form buttons?

But how come the colors of the icons are kind of blured? When I choose white it's definitivly not as white as the text. I would like it to be for visibility. Edit: Seems like the bakground color of the button is above the color of the icon, hence giving it another color than the one I chosse. White ...