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 (299k 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
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
1 answer

Trying to evaluate the time in days a user has been in a group based on a custom date field # Get object creation date $object = $Context.GetDirectoryObject() $whenCreated = ... on the AD equivalent user of the Azure user that is in the Azure group? Thanks

asked Jan 30 by msheppard (720 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, 2024 by msinger (210 points)
0 votes
1 answer

I used the script below to try and accomplish this but I get an error. I did try to leave a comment but it would not let me. I tried running ... .adaxes.com/script-repository/add-users-located-in-particular-organizational-units-to-unmanaged-accounts-s178.htm

asked Nov 14, 2022 by raul.ramirez (210 points)
3,639 questions
3,327 answers
8,415 comments
548,850 users