0 votes

I have report which is listing all the users. I have a parameter for departments which is used as filters and it is a checkbox list. I am using this in report so we can filter the users based on the selceted departments and it is working well.

The report is using script to use the parameter and filter the users as per selected departments. This parameter is now manually populated with values of all departments we have so far. Is there a way in script I can dynamically get a list of departments and populate this parameter.

by (500 points)

1 Answer

0 votes
by (299k points)

Hello,

Yes, it is possible. Unfortunately, we do not have the exact script, but the following one should be helpful: https://www.adaxes.com/script-repository/update-custom-command-parameter-values-based-on-unique-property-values-s527.htm.

0

Thank you instead of Custom command parameter I will need to use smimilar method for my report parameter right

0

Hello,

Yes, that is correct.

Related questions

0 votes
1 answer

I see the script for generating a report of users enrolled, but what I'd like to do is run a script that can populate a user attribute with Yes/No or True/False if they are or are not enrolled. Is there an existing script that accomplishes this? Thanks

asked Nov 19, 2024 by msheppard (720 points)
0 votes
1 answer

Is it possible to create a business unit and have it auto populate with group owners in a specific OU. I've tried a few scripts to get propertie adm-managedbylist but none have worked so far.

asked Nov 18, 2024 by C27 (20 points)
0 votes
1 answer

The use case we are looking for is providing a list of titles for users to choose from when initiating a re-hire. We already have a title property pattern established and would ... that we can manage the list in one place. Let me know and as always, thanks.

asked Nov 22, 2024 by msheppard (720 points)
0 votes
1 answer

Here is my issue, When I use this code: $DNs = %param-GroupsInRole% $Groups = $DNs -split "|" %Param-GroupsInRole% can have multiple groups. When setting up the parameter I am ... I just need to be able to do a foreach with the groups picked by the initiator.

asked Mar 23, 2023 by mightycabal (1.0k points)
0 votes
1 answer

Occationally Service Desk staff need to clear a DNS record when a desktop has been reimaged but is keeping the same name as loses the ability to manage its original DNS ... running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

asked Jan 17, 2023 by stevehalvorson (110 points)
3,633 questions
3,321 answers
8,398 comments
548,760 users