0 votes

Hello,

I like to use a custom attribute to store the hardware choice for a new user:
When a new user is created, a mail is sent to the manager to edit the user. One of the things a manager can ask is different types of hardware. For that reason I like to make use of the adm-CustomAttributeTextMultiValue1 attribute.

After changing the users (using the webinterface) a mail is send to the IT-department with the choice of hardware.
I can use $Hardware = $Context.GetModifiedPropertyValues("adm-CustomAttributeTextMultiValue1")
and put $Hardware in a mail. But this result is a 1 rule string. I would like to show the results under each other.

I don't get the syntax right. And i'm not shure whether to treat it as an object or as a string.

Any help will be usefull.

by (140 points)

1 Answer

0 votes
by (140 points)
selected by
Best answer

Found it,

I needed the $Context.TargetObject.GetEx("adm-CustomAttributeTextMultiValue1"). This gives me the array with string values

Related questions

0 votes
1 answer

We are using the below snippet to grab the email of a single custom attribute object. Can I get guidance on the best way to modify this to get all the emails of each ... "The user specified in parameter 'MyParameter' has no email address. ", "Information") }

asked Dec 23, 2024 by msheppard (660 points)
0 votes
1 answer

We are wanting to display all values entered into a multi value text attribute in an email sent by Adaxes. What we've found is that only the first entry into the array ... Entry" Is there a way to reference the variable so that it displays all entries? Thanks

asked Dec 12, 2024 by msheppard (660 points)
0 votes
1 answer

Is there a way to configure a Custom Command parameter to accept multiple values so I can then add them to a multi value attribute such as adm-CustomAttributeObjectMultiValue1 ... in my specific case I'm looking to use a directory object picker parameter

asked Nov 27, 2024 by AM (50 points)
0 votes
1 answer

Is it possible to remove the default blank option that shows up in a multi-value field? When I add two possible options for a multi-value field in the Property Pattern constraint, ... along with the other two options. Is it possible to get rid of the blank?

asked Mar 8, 2017 by sdavidson (730 points)
0 votes
1 answer

Hi, I'm working on my "account lifecycle" review processes and have a new area that I'm starting to think about. When staff who are also managers (of both users ... use! I appreciate there are some complex questions in here, so don't prioritise! Many Thanks

asked May 30, 2013 by firegoblin (1.6k points)
3,606 questions
3,293 answers
8,343 comments
548,458 users