0 votes

Hello

How can I generate a Messagebox on the WebUI ?

During creation of an new user, we check if the employeenumber exists in AD or in an external databases.
If an employeenumber exists, we would like to show information about this in a messagebox or something similar.

The same goes for displaying error messages, for example when catched in powershell scripts.
The message text will consist of static text and variables from Adaxes/AD.

Here is an example from out current IDM system.

- Thanks in advance

by (2.6k points)

1 Answer

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

Hello,

For this purpose, you can use PowerShell scripts. Using the $Context.LogMessage in scripts run as a part of a Business Rule, you can add a message to the Execution Log. The Execution Log will be shown to users when the operation that triggered your Business Rule completes. The first parameter of the method is the text of the message; the second parameter is the type of the message. The second parameter can take the following values: "Information", "Warning", and "Error". Examples:

$Context.LogMessage("Some message", "Information")
$Context.LogMessage("Some warning", "Warning")
$Context.LogMessage("Some error", "Error")

When the operation completes, this will look approximately like this in the Web Interface:


To run a script as a part of a Business Rule, add the Run a program or PowerShell script action to the rule.

0

Thanks. It is an acceptable workaround for now.

However. In the perspektive of user friendlyness, it would be appropiate to launch a messagebox, someway or another.
Partly because the message could be a longer text and partly because this text or another text is not appropiate to store in the log.

Just a little feature request, within the scope of .NET solutions ;)

- Thanks

0

Hello,

Thanks for the suggestion. Actually, we already have it in our Product Backlog. We'll keep it in mind when deciding on features for future releases.

Related questions

0 votes
1 answer

I have a Cloud managed domain configured in adaxes. I want to give access on the helpdesk portal to a user from this cloud domain, as I usually do with a AD user. Is it possible ... try to do it, I get a "username and password doesn't match" on the login page.

asked Jun 26 by ndegrauw (50 points)
0 votes
1 answer

I'm developing a Web interface to allow a user (or group of users) to add member(s) to or remove member(s) from one particular group. I've used Customize Operations to add ... of the group so that one or more can be selected to be removed. Is this possible?

asked Apr 26, 2018 by sandramnc (870 points)
0 votes
1 answer

Hello Just a suggestion from some of our users: - It would be nice to have the home page actions placed in a menu sidebar - visible throughout the WebUI - and not just placed on the home page. - Thanks

asked Aug 10, 2016 by Boxx.dk (2.6k points)
0 votes
1 answer

We have a form to used by our HR Reps to create non-employee records. There are two fields on the form that are auto-generated via a property pattern: Full Name ( ... changed to cause this new behavior? Nothing has changed with our property pattern set-up...

asked Aug 30, 2016 by sandramnc (870 points)
0 votes
0 answers

Please excuse this lengthy post but in order to fully explain my scenario, I believe it's necessary. We're using the Adaxes Web Interface to enable Department HR Reps to ... it being e-mailed. Any assistance or guidance would be greatly appreciated. Thanks...

asked Jul 19, 2016 by sandramnc (870 points)
3,589 questions
3,278 answers
8,303 comments
548,148 users