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 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 6 days ago by msheppard (610 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 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)
0 votes
1 answer

Ideally looking to make this a rule based group, but report or business unit should work also. In our domain, service accounts become direct reports of the user who requested/ ... if a specific object is a/not a direct report. Is this possible? Thank you

asked Nov 14, 2023 by ThompsonAlex (40 points)
3,587 questions
3,275 answers
8,300 comments
548,055 users