<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Michal,</p>
<p>I believe you need to use like this:</p>
<div style="background-color:#ffffff;color:#080808">
<pre
style="font-family:'JetBrains Mono',monospace;font-size:9.0pt;"><font
face="monospace"><actions>
<addFocus>
<objectTemplateRef oid="..."/>
</addFocus>
</actions></font>
</pre>
</div>
<p></p>
<div class="moz-cite-prefix">This is one of things changed in our
schema since midPoint 4.6.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Best regards,</div>
<div class="moz-cite-prefix">Ivan<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 5. 3. 2024 9:33, Michal Sakac via
midPoint wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9601BA84-CCD0-48DC-A95B-7F471787C8B2@civ.zcu.cz">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<br>
Hi I try to add another than default object template for inbound
role mapping like this <br>
<br>
<reaction><br>
<name>add</name><br>
<situation>unmatched</situation><br>
<objectTemplateRef oid=„XXXXXx"/><br>
<actions><br>
<addFocus/><br>
</actions><br>
</reaction><br>
But every time when I try to send it to MP I got error <br>
Item {<a
href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
moz-do-not-send="true" class="moz-txt-link-freetext">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>}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) )<br>
<br>
Can anyone help me? I don’t know what I'm doing wrong? I found
this in samples <br>
<reaction><br>
<situation>unmatched</situation><br>
<!-- Reference to the User Template is here.
If the user would be<br>
created as a result of this action, it
will be created according<br>
to this template. --><br>
<objectTemplateRef
oid="c0c010c0-d34d-b33f-f00d-777222222333"/><br>
<action><br>
<handlerUri><a
href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser%3C/handlerUri%3E"
moz-do-not-send="true">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser</handlerUri></a><br>
</action><br>
</reaction><br>
<br>
I have MP 4.8<br>
<br>
Thx for help.<br>
<br>
Michal Sakac <br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Ivan Noris
Expert Identity Engineer
evolveum.com
</pre>
</body>
</html>