Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:documentation:modules_extras [2021/03/16 15:34] apeterova [Groups synchronization workflow] workflow services usage |
devel:documentation:modules_extras [2021/05/27 11:59] kopro [Get titles before and after] type and update header |
||
---|---|---|---|
Line 2: | Line 2: | ||
CzechIdM - extras contains various features, which are not suited to be in any other module. List of the currently supported features is below. | CzechIdM - extras contains various features, which are not suited to be in any other module. List of the currently supported features is below. | ||
- | Currently supported CzechIdM version : 10.4.9 | + | Currently supported CzechIdM version : 11.0.x |
[[https:// | [[https:// | ||
Line 109: | Line 109: | ||
Edit: Support for technical identities added for use in version 1.9.0 | Edit: Support for technical identities added for use in version 1.9.0 | ||
- | ===== Get titles before and after ===== | + | ===== Script split titles before and after ===== |
Almost every project receive all titles in one string and IdM allow separates titles before and after. For this case was created in *ExtrasUtils* two methods *getTitlesAfter* and *getTitlesBefore*. And transformation scripts *extrasGetTitlesBefore* and *extrasGetTitlesAfter*, | Almost every project receive all titles in one string and IdM allow separates titles before and after. For this case was created in *ExtrasUtils* two methods *getTitlesAfter* and *getTitlesBefore*. And transformation scripts *extrasGetTitlesBefore* and *extrasGetTitlesAfter*, | ||
Line 116: | Line 116: | ||
idm.sec.extras.configuration.titlesAfter=Ph.D., | idm.sec.extras.configuration.titlesAfter=Ph.D., | ||
idm.sec.extras.configuration.titlesBefore=Bc., | idm.sec.extras.configuration.titlesBefore=Bc., | ||
+ | </ | ||
+ | in version 2.8.0 was added the option to select a separator for source string and for titles before and after values in IdM. | ||
+ | < | ||
+ | idm.sec.extras.configuration.titlesSourceSeparator - a character, that separates titles in the source. Default" | ||
+ | idm.sec.extras.configuration.titlesBeforeSeparator - titles before separator for IdM. Default", | ||
+ | idm.sec.extras.configuration.titlesAfterSeparator - titles before separator for IdM. Default", | ||
</ | </ | ||
Line 166: | Line 171: | ||
Documentation is available [[tutorial: | Documentation is available [[tutorial: | ||
+ | |||
+ | ===== Script for soft abbreviate strings (extrasAbbreviateString) ===== | ||
+ | Since module version **3.2.0** | ||
+ | |||
+ | Script called **extrasAbbreviateString** abbreviate given string by default with maximum length 255. Maximum length can be defined by adding parameter **maximum**. For example: | ||
+ | * .addParameter(' | ||
+ | |||
+ | Result examples: | ||
+ | * "Hi how are you" - maximum: 9 - "Hi how" | ||
+ | * "Ing. Mgr. at Mgr. MBA" - maximum: 20 - "Ing. Mgr. at Mgr." | ||
+ | * " | ||
+ | |||