Transform SP Attribute Resolver: merging several into one value
Cantor, Scott
cantor.2 at osu.edu
Thu Jan 16 09:56:45 EST 2014
On 1/16/14, 8:48 AM, "Peter Schober" <peter.schober at univie.ac.at> wrote:
>Now, how would I go about doing it the other way round, creating
>displayName from "$sn $givenName"?
The Template plugin, typically. That's the example I use in the docs.
>but source only seems to take a single attribute's id. (The
>grammatical plural in the docs probably just takes into account that
>more than one attribute can map to the same id).
Yes. The Template plugin has a parameter called sources to note that it
takes more than one id.
>1. A Regex rule with $1 as the only CDATA content (such as the one
>with source="giveName" above) does not seem to create any values. If I
>change it to e.g. '$1 ' (by adding a space to the end of the CDATA
>string) the value from source get's though (and the space appended).
Might be a bug, I have examples that show just $1.
>Is merging several attributes's values into a single value of a single
>attribute not possible with the current code, or am I Doing It Wrong?
The latter.
-- Scott
More information about the users
mailing list