Hi,
Il 04/11/19 19:05, Farrell, Stephen R. ha scritto:
Hello,
I have a use case where our provisioned users need a multi-valued
attribute set with a static set of values but this attribute is not in
our trusted source flat file. I was trying to create a derived
attribute with all the static values in the expression separated by
"|", which we have configured as our multi-value delimiter. This just
causes the attribute to be populate with a single value. Is there a
better way to solve this use case with out of the box tools or will
this require an item transformer to set static values on a blank
multi-valued attribute?
You need a multivalue PlainSchema of type String or Enum.
To assign this static values to the users, I suggest you to take a look
at templates (Logic Template, Pull Templates) [1][2]
The values specified in the template are applied to entities for setting
default values for attributes, default resources or groups ...
Regards
M
[1] http://syncope.apache.org/docs/2.1/reference-guide.html#pull-templates
[2] http://syncope.apache.org/docs/2.1/reference-guide.html#logic-template
Thanks,
Stephen
**
--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570
Tirasa S.r.l.
Viale Vittoria Colonna, 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/