PhenixID

PSD1154 – Set Date By Checking Checkbox In Identity Manager

Summary

This PhenixID Solution Document (PSD) is written for PhenixID Identity Manager (IM) 5.4.1 or later.

With this filter you can set a date attribute in Microsoft Time Format by only checking a checkbox. The date will be N days from today, where N is configurable.

Use case: When an employee is ending his/her employment the administrator just have to check the ‘End employment’ check box. The check box is configured, using this filter, to set the date in accountExpires to 30 days ahead.

Download filter

Click the following link PSD1154 to download the filter.

Add filter to IM Configurator

Add SetDateByCheckBoxControlFilter.class to the following file path:
\..\PhenixID\IMConfigurator\ext\class\psd
You must restart IM Configurator for the filter to be active

Add filter to IM WEB

Add SetDateByCheckBoxControlFilter.class to the following file path:
\..\PhenixID\IM\customer\extension\class\psd
You must restart IM WEB for the filter to be active

Configure the filter in a form

  1. Open IM Configurator
  2. Open the form where you like to add the filter.
  3. Create a check box control and set the selected value to true and the deselected value to false. Make the check box a Variable.
  4. Click External Filter
  5. Click no filter assigned under PostSave
  6. In Java class type: psd.SetDateByCheckBoxControlFilter
  7. In Method type: setDateMSTime
  8. Under parameters, click String
  9. In the String dialog box, add the name of the date attribute to update.
  10. Click String once more
  11. In the String dialog box, add the number of days ahead you want to set in the date attribute
  12. Save the form and test your form

DISCLAIMER
Information provided in this document is for your information only. PhenixID 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.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se