[midPoint] Importing objects remotely

Pavol Mederly mederly at evolveum.com
Wed Oct 21 12:10:05 CEST 2015


Samu,

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.)

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.

Best regards,
Pavol

> Hello,
>
> 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.
>
> Best Regards
> Samu Viitanen
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20151021/a7ebdf75/attachment.htm>


More information about the midPoint mailing list