<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thank you for your quick response Pavol. I will use the executeChanges method for now.<br><br>- Samu<br><br><div><hr id="stopSpelling">To: midpoint@lists.evolveum.com<br>From: mederly@evolveum.com<br>Date: Wed, 21 Oct 2015 12:10:05 +0200<br>Subject: Re: [midPoint] Importing objects remotely<br><br>
<div class="ecxmoz-cite-prefix">Samu,<br>
<br>
you're right: the model WS interface doesn't contain such a
method. (I consider implementing it, but it's a low priority for
me, mainly because of 3.3 release that is quickly coming.)<br>
<br>
In the meanwhile, you can safely use executeChanges method. But
you need to call it one-object-at-a-time. And perhaps don't forget
to set "overwrite" option. Also, set "isImport" option, if you
want to evaluate search filters in the imported objects.<br>
<br>
Best regards,<br>
Pavol<br>
<br>
</div>
<blockquote cite="mid:DUB117-W9F82740047606ED1D6624D1380@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hello,<br>
<br>
I want to import certain objects (Connector hosts, resource
references, user templates, etc.) without accessing the midPoint
GUI. Is it possible to import objects through the Model WS
Interface, or do I have to write a program with the Model
interface to import such objects? I did not find any references
or guides on how to import objects like this into midPoint.<br>
<br>
Best Regards<br>
Samu Viitanen<br>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
midPoint mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>_______________________________________________
midPoint mailing list
midPoint@lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint</div> </div></body>
</html>