template enhancement for multivalued field
Requirements
an FD 1.3 fully functional
Descriptive title for this enhancement
apply template with some specific action on multi valued field
Actual behavior
if a value is set in multi valued field in template, all values are replace in destination template when template is apply. There is non incremental way ( adding value instead of replace)
Expected behavior
on template in multi valued field such supannRefId I set a place holder like +[{MYMAIL}%sn%.%givenName%@company.fr]
If I apply the template, a new value is ADDED in the field supannRefId : {MYMAIL}doe.jon@company.fr
In the same way, we could imagine to remove a specific value like -[{MYMAIL}%sn%.%givenName%@company.fr]
it remove the value {MYMAIL}doe.jon@company.fr
If -[{MYMAIL}*
is set all value beginning by {MYMAIL}*
is removed
Step by step description of new behavior
- create template with
+[{MYMAIL}%sn%.%givenName%@company.fr]
in supannRefId multi valued field - the user john doe have inside the supanRefId field the following value
supannRefId: {STUDENT}04564@university.com
supannRefId: {PHONEID}34563456@ring.id
- The template is applied, we get the following field :
supannRefId: {STUDENT}04564@university.com
supannRefId: {PHONEID}34563456@ring.id
supannRefId: {MYMAIL}doe.jon@company.fr
and not only : supannRefId : {MYMAIL}doe.jon@company.fr
Benefits
more capabilities for automated user creation
Possible Drawbacks
complexity of the code