[Midpoint-dev] Add focus with other object template

Pavol Mederly pavol.mederly at gmail.com
Tue Mar 5 09:31:34 CET 2024


Hello Michal,

this is not a correct mailing list for this type of questions. Please 
use "midpoint" list: https://lists.evolveum.com/mailman/listinfo/midpoint.

Best regards,
Pavol Mederly

On 05/03/2024 09:14, Michal Sakac via midPoint-dev wrote:
> Hi I try to add another than default object template for inbound role 
> mapping like this
>
> <reaction> <name>add</name> <situation>unmatched</situation> 
> <objectTemplateRef oid=„XXXXXx"/> <actions> <addFocus/> </actions> 
> </reaction>
> But every time when I try to send it to MP I got error
>
> Item 
> {http://midpoint.evolveum.com/xml/ns/public/common/common-3}objectTemplateRef 
> has no definition (in value CTD 
> ({.../common/common-3}SynchronizationReactionType))while parsing ( 
> situation => unmatched (class java.lang.String) id => 32 (class 
> java.lang.Long) {...common/common-3}objectTemplateRef => ( oid => 
> parser ValueParser(DOM-less, XXXX, namespace declarations) ) actions 
> => ( addFocus => ( id => parser ValueParser(DOM-less, 35, namespace 
> declarations) ) ) name => add (class java.lang.String) )
>
>
> Can anyone help me? I don’t know what I'm doing wrong? I found this in 
> samples
>    <reaction>
>                      <situation>unmatched</situation>
>                      <!-- Reference to the User Template is here. If the user would be
>                               created as a result of this action, it will be created according
>                               to this template. -->
>                      <objectTemplateRef oid="c0c010c0-d34d-b33f-f00d-777222222333"/>
>                      <action>
>                          <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser</handlerUri>
>                      </action>
>                  </reaction>
> I have MP 4.8
> Thx for help.
> Michal Sakac
>
>
> _______________________________________________
> midPoint-dev mailing list
> midPoint-dev at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint-dev/attachments/20240305/441d9e1c/attachment-0001.htm>


More information about the midPoint-dev mailing list