NSD1125 How to configure button custom control in Web Edition version 3.6
Fact
NordicEdge Web Edition version 3.6
Situation
This custom control places a generic button on a identity manager form. It can be configured to read a regular input textfield from the same form it resides on and invoke custom code. The answer can the either be returned to a regular input textfield in the same form or just alert the user what happend.
It can be used to check for uniqueness or creating user id based on name.
Solution
Download and extract the attached .zip folder.
Place the .class file under %nordicedge_applicationroot%/nsd/ for the standalone application.
Place the .class file under %nordicedge_applicationroot%/WEB-INF/classes/nsd/ for the web application.
Place the. jsp file under %nordicedge_applicationroot%/jsp/CustomControls/nsd
If folder structure is missing. Create it.
If Identity manager standalone application was running while doing the installation, restart it.
Open tab designer and create a new form or open an already loaded form.
Add a custom control to the form by grabbing dragging an custom control from the designer tool bar and placing it on the form.
After placing it in desired position a configuration panel appears:
After selecting an attribute name click ”Options for Custom Control”. The attribute name is not important it just has to be unique
Start off by typing nsd.NSD1125 as class name the ”Query Custom Control Class”. Now you can feed parameters to the custom control.
- First parameter is the java class you want to invoke and the method separated by a comma sign. The method MUST be able to receive a String an return an String
- Second parameter is the attribute you which to update whit the reply from the previous configured java class.
- Third is the parameter the configured java class will get as an in parameter.
- Fourth is if configured java class has the ability to use the NEIDMgmtSession object.
Press OK then Apply and save the form.
Attachment:
Disclaimer
The origin of this information may be internal or external to Nordic Edge™. Nordic Edge™ makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Nordic Edge™ makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.
Nordic Edge Support – www.nordicedge.se
