<div dir="ltr"><div>Hi Viele,</div><div><br></div><div>if you need just one time export, you can use 4. button at the bottom of User List page "CSV export". Open it, and delete not needed columns.</div><div><br></div><div>Best regards,</div><div><br></div><div>Gustav</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">št 30. 1. 2020 o 10:34 Rainer Herbst <<a href="mailto:rainer.herbst@aip.de">rainer.herbst@aip.de</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all,<br>
<br>
I wanted to solve the following simple problem - export a list of email <br>
addresses from Midpoint into a csv file.<br>
<br>
So, I defined a CSV resource with only one attribute (email) and set a <br>
synchronisation:<br>
<synchronization><br>
<objectSynchronization><br>
<name>Import</name><br>
<enabled>true</enabled><br>
<correlation><br>
<q:equal><br>
<q:path>extension/mainAIPEmail</q:path><br>
<expression><br>
<path>$projection/attributes/email</path><br>
</expression><br>
</q:equal><br>
</correlation><br>
<reconcile>true</reconcile><br>
<reaction><br>
<situation>linked</situation><br>
<synchronize>true</synchronize><br>
</reaction><br>
<reaction><br>
<name>Link</name><br>
<situation>unlinked</situation><br>
<synchronize>true</synchronize><br>
<action><br>
<name>Exportieren</name><br>
<handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#link" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</a></handlerUri><br>
<order>befor</order><br>
</action><br>
</reaction><br>
<reaction><br>
<name>Export</name><br>
<situation>deleted</situation><br>
<synchronize>true</synchronize><br>
<action><br>
<name>Exportieren</name><br>
<handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addShadow" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addShadow</a></handlerUri><br>
<order>before</order><br>
</action><br>
</reaction><br>
</objectSynchronization><br>
</synchronization><br>
<br>
Now, I am able to connect to the resource and to link existing email entries <br>
to users.<br>
<br>
But what kind of task should I use to export emails not found in the csv <br>
file yet?<br>
<br>
<br>
Viele Grüße,<br>
<br>
Rainer Herbst<br>
Leiter IT-Service<br>
Phone: +49 331 7499-257<br>
e-mail: <a href="mailto:rainer.herbst@aip.de" target="_blank">rainer.herbst@aip.de</a><br>
<a href="https://www.aip.de" rel="noreferrer" target="_blank">https://www.aip.de</a><br>
<br>
-----------------------------------------------------------------------------------------------<br>
Leibniz-Institut für Astrophysik Potsdam (AIP)<br>
An der Sternwarte 16, 14482 Potsdam<br>
<br>
Vorstand: Prof. Dr. Matthias Steinmetz, Matthias Winker<br>
Stiftung bürgerlichen Rechts<br>
Stiftungsverzeichnis Brandenburg: 26 742-00/7026<br>
-----------------------------------------------------------------------------------------------<br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">s pozdravom<div><br></div><div>Gustáv Pálos</div></div></div>