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 (272k 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 (110 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
2 answers

I am trying to create a report-specific column (DateTime - Regular Date) where I can extract the datetime from the description field of the user object using a regular ... () $line = $object.Get("description") $dateTime = ?? $Context.Value = $dateTime

asked Feb 27 by emeisner (60 points)
0 votes
1 answer

As you can see in the picture, we currently have three different formats as soon as we look at a user's data. Can this be adjusted so that only one format dd.mm.yyyy is displayed? Thank you very much

asked Nov 17, 2023 by DRiVSSi (280 points)
3,346 questions
3,047 answers
7,772 comments
544,973 users