0 votes

I am trying to get the script from the link below working, but it's not producing any results. I copied the two column IDs, and I adjusted the param-Date to param-365. Not sure what I am misunderstanding or missing.

This is the script: https://www.adaxes.com/script-repository/recently-enabled-users-with-initiator-s681.htm

by (120 points)
0

Hello,

I adjusted the param-Date to param-365

What exactly do you mean?

I am trying to get the script from the link below working, but it's not producing any results

Do you face any errors/warnings? If you do, please, provide screenshots.

Also, please, provide us with a screenshot of the Multi-server environment dialog. The dialog displays how many Adaxes services you have and what their versions are. For information on how to view it, see https://www.adaxes.com/help/MultiServerEnvironment.

0

The guide says he following:

$daysParameterName - Specifies the name of the parameter used to determine the period (in days) to retrive enabled users for. The name should be specified with the param- prefix.

So in this part of the code, I adjusted it to param-365. I guess I dont know what value to put after "param-"

$daysParameterName = "param-365" # TODO: modify me

I am getting no errors or warnings.

I only have one server in the multi-environment tab. The version is 3.16.21906.0

1 Answer

0 votes
by (294k points)
selected by
Best answer

Hello,

So in this part of the code, I adjusted it to param-365. I guess I dont know what value to put after "param-"

The $daysParameterName variable should be set to the name of a parameter determining the number of days to check the user enabling for. If you just change the variable value, the report will never work. You need to create the parameter for the report and specify its name in the variable. For details, have a look at step 5 of the following tutorial: https://www.adaxes.com/help/CreateReport/#parameters.

0

Thank you. I appreciate it!

Related questions

0 votes
1 answer

Hi Is it possible to get the Web Interface address via a script? Thanks Matt

asked Oct 13, 2023 by chappers77 (2.0k points)
0 votes
1 answer

Hello I try to create a form that lets HR create a user themself, but they need the approval from the IT-Department, so the IT-Department can check the new employees personal data and configure their pc. Or do you have an alternative idea for this process?

asked May 2 by Baul (130 points)
0 votes
1 answer

I am trying to send a $context.logmessage from a condition script in a Scheduled Task but I get nothing in the log. Is this not possible? Morten A. Steien

asked Jul 20, 2020 by Morten A. Steien (300 points)
0 votes
0 answers

We've uninstalled the previous version via the "add/Remove Programs" feature in Windows 10, but we still get an error saying that another version of the client is still installed and won't allow us to run the .MSI installer. How can we get around this?

asked Feb 15 by MShep (80 points)
3,588 questions
3,277 answers
8,303 comments
548,079 users