[midPoint] Export list of emails

Rainer Herbst rainer.herbst at aip.de
Thu Jan 30 10:34:52 CET 2020


Dear all,

I wanted to solve the following simple problem - export a list of email 
addresses from Midpoint into a csv file.

So, I defined a CSV resource with only one attribute (email) and set a 
synchronisation:
   <synchronization>
   <objectSynchronization>
   <name>Import</name>
   <enabled>true</enabled>
   <correlation>
   <q:equal>
   <q:path>extension/mainAIPEmail</q:path>
   <expression>
   <path>$projection/attributes/email</path>
   </expression>
   </q:equal>
   </correlation>
   <reconcile>true</reconcile>
   <reaction>
   <situation>linked</situation>
   <synchronize>true</synchronize>
   </reaction>
   <reaction>
   <name>Link</name>
   <situation>unlinked</situation>
   <synchronize>true</synchronize>
   <action>
   <name>Exportieren</name>
   <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
   <order>befor</order>
   </action>
   </reaction>
   <reaction>
   <name>Export</name>
   <situation>deleted</situation>
   <synchronize>true</synchronize>
   <action>
   <name>Exportieren</name>
   <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addShadow</handlerUri>
   <order>before</order>
   </action>
   </reaction>
   </objectSynchronization>
   </synchronization>

Now, I am able to connect to the resource and to link existing email entries 
to users.

But what kind of task should I use to export emails not found in the csv 
file yet?


Viele Grüße,

Rainer Herbst
Leiter IT-Service
Phone: +49 331 7499-257
e-mail: rainer.herbst at aip.de
https://www.aip.de

-----------------------------------------------------------------------------------------------
Leibniz-Institut für Astrophysik Potsdam (AIP)
An der Sternwarte 16, 14482 Potsdam

Vorstand: Prof. Dr. Matthias Steinmetz, Matthias Winker
Stiftung bürgerlichen Rechts
Stiftungsverzeichnis Brandenburg: 26 742-00/7026
-----------------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3646 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200130/6e81c392/attachment.bin>


More information about the midPoint mailing list