Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devel:documentation:modules_extras [2021/05/10 11:33]
stekld [Get titles before and after]
devel:documentation:modules_extras [2021/06/17 10:08]
kucerar added sync of code list items
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://github.com/bcvsolutions/czechidm-extras]] [[https://github.com/bcvsolutions/czechidm-extras]]
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*, transformation scripts calls method from utils. 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*, transformation scripts calls method from utils.
  
Line 161: Line 161:
  
 Documentation is available [[devel:documentation:modules_extras:import_code_list_an_it_s_items|there]] Documentation is available [[devel:documentation:modules_extras:import_code_list_an_it_s_items|there]]
 +
 +===== Synchronize code list items from end system =====
 +Since module version **3.2.0**
 +
 +Documentation is available [[devel:documentation:modules_extras:sync_code_list_items|there]]
  
 ===== Evaluators (permissions) for Identities and Contracts which are both subordinate and have given projection ===== ===== Evaluators (permissions) for Identities and Contracts which are both subordinate and have given projection =====
Line 171: Line 176:
  
 Documentation is available [[tutorial:adm:modules_extras_wf|there]] Documentation is available [[tutorial:adm:modules_extras_wf|there]]
 +
 +===== 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('maximum', 60)
 +
 +Result examples:
 +  * "Hi how are you" - maximum: 9 - "Hi how"
 +  * "Ing. Mgr. at Mgr. MBA" - maximum: 20 - "Ing. Mgr. at Mgr."
 +  * "Ing." - maximum: 20 - "Ing."
 +
  
  • by apeterova