0 votes

We have a custom date attribute that has stopped working correctly, it is set for indicating a new user's start date in an account creation form. This is then used to generate a username automatically for the user with the below code;

%firstname:lower,1%%lastname:lower,2%%adm-CustomAttributeDate1:format[ddMMyy]%

ie. Homer Simpson with a start date of 09/03/23 would generate the username hsi090323

however the formatting rule is not followed, there is not 2 digits for the day or month and the time is always included; Screenshot 2023-03-09 180422.png

Is this by design or a flaw? should i now create the code a different way to get the result i need?

Also the date is the wrong way round, the server is set as a UK date/time format.

by (80 points)

1 Answer

0 votes
by (288k points)

Hello,

Unfortunately, this is a known issue in Adaxes. It will be fixed in the future releases. As of now, you can use business rules to set the required property values using the same value references. We apologize for the inconveniences.

Related questions

0 votes
1 answer

Hi, I have a custom attribute for new hire start date with the following configuration : When i retrieve the attribute it is always returned as the day before, as an ... but would like to understand what is going on here, any input would be appreciated.

asked Sep 13, 2019 by digimortal (240 points)
0 votes
2 answers

I've had a couple custom commands configured since 6/2023 and they've been working just fine up until recently (sometime within the past few weeks or so). Here's a general ... something obvious here. But I can't make sense of why this is suddenly an issue.

asked Mar 20 by msinger (210 points)
0 votes
1 answer

Hello all, I encounter an issue on Adaxes 2013.1 when creating a new custom command to create a user mailbox. When I choose all my mbx stores (in order to let adaxes ... exists." When I specify only one mbx store, it works fine. Thanks for your help Regards

asked Oct 4, 2013 by smasset (740 points)
0 votes
0 answers

I have a report which is basically a query for specific set of users for which I want the last logon attribute (not the last logon timestamp). When I sort the same report ... fine. But the same report in Adaxes web portal the sort is not working the same way.

asked May 23 by Vish539 (460 points)
0 votes
1 answer

Hello! I would like to use the utc parameter that is described in value references - date/time formatting (https://www.adaxes.com/help/ValueReferences/). The goal is ... please indicate whiich would be the right way for using the utc switch? Thanks, Fabiano

asked May 3 by fabiano.santos-agco (20 points)
3,539 questions
3,230 answers
8,225 comments
547,758 users