Mistakes in the documentation for RpUIContext?
Meike Stone
meike.stone at googlemail.com
Fri Jan 25 08:22:14 EST 2019
Am Fr., 25. Jan. 2019 um 14:12 Uhr schrieb Rod Widdowson
<rdw at steadingsoftware.com>:
>
> Meike,
thanks for answer ...
>
> > Is this an mistake in the documentation or do I something wrong?
>
> I think you are asking for the "support" contact (not sure if there are quotes missing or not)
>
> > #set ($email=$rpUIContext.contactEmail(support))
>
> But your metadata is for "technical"
>
> > <m:ContactPerson contactType="technical">
>
that is not the reason. I'm sorry, The example from documentation is
using "support", therefore I put it in the message.
My example metadata used "technical".
In my tests I used "technical" too:
#set ($email=$rpUIContext.contactEmail(technical)) and
#set ($email=$rpUIContext.getContactEmail(technical)) and
#set ($email=$rpUIContext.contactEmail('technical')) and
but only this was working:
#set ($email=$rpUIContext.getContactEmail('technical'))
sorry for confusion ...
Meike
More information about the users
mailing list