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
- Open IM Configurator
- Open the form where you like to add the filter.
- Create a check box control and set the selected value to true and the deselected value to false. Make the check box a Variable.
- Click External Filter
- Click no filter assigned under PostSave
- In Java class type: psd.SetDateByCheckBoxControlFilter
- In Method type: setDateMSTime
- Under parameters, click String
- In the String dialog box, add the name of the date attribute to update.
- Click String once more
- In the String dialog box, add the number of days ahead you want to set in the date attribute
- 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