Dear Sander,
W dniu 02.12.2020 o 08:24, Sander Apweiler pisze:
> Dear Krzysztof,
>
> We have a small improvement for invitation templates. We as unity
> administrators, not as group administrators got a lot of replies, to
> which group the users was invited. Of course we can modify the template
> but we don't have access to the group name. Could you create a variable
> containing the group displayname, like it already exists for the
> registration form or expiration date?
Well, perhaps yes, but that's not that obvious feature. The thing is
that invitation (as well as its form) can include more then a single
group. Actually there may be multiple group parameters in form AND some
of them may be multivalued. Consider the attached screenshot.
So we would need to add at a minimum the following variables to the
invitation message template:
${prefilledAttribute['attrName']}
${prefilledIdentity['idName']}
${prefilledGroup['groupsSpec']}
One problem is that we don't have yet any support for parametrized
variables in message templates - we would need to introduce sth like this.
Other problem is that the above may still not work in your case (?) - if
invitation contains multiple groups then you most likely want to show
only a specific one (e.g. in the screenshot it would be /A/B/C (or its
name))?
Cheers,
Krzysztof
|