[midPoint] Importing OrgUnits with inducements from resource

Guckenbiehl, Gabriel gabriel.guckenbiehl at uni-due.de
Wed Jul 1 16:44:52 CEST 2020


Dear community,

I am constructing a resource to import our Org-Tree from csv-file. Which
works fine. But when I try to additionally read some inducements which
should grant the members of one OrgUnit the rights of another, I run into
confusion. The code below works fine for that respect, but messes with my
Org-Tree, as there is focusType missing (as described here:
https://wiki.evolveum.com/display/midPoint/parentOrgRef+and+assignments).
However I can not figure out, where in my inbound mapping to define the
focusType (and with which tag).

Maybe one of you could give me a hint?

Kind  regards

Gabriel


<inbound id="22">
  <expression>
      <assignmentTargetSearch
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xsi:type="c:AssignmentTargetSearchExpressionEvaluatorType">
          <targetType>c:OrgType</targetType>
          <filter>
              <q:equal>
                  <q:path
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3">c:ident
ifier</q:path>
                  <q:matching>polyStringNorm</q:matching>
                  <expression>
                      <script>
                           <code
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3">
                        	  input
                           </code>
                      </script>
                  </expression>
              </q:equal>
          </filter>
      </assignmentTargetSearch>
  </expression>
  <target>
      <c:path>inducement</c:path>
  </target>
</inbound>




Gabriel Guckenbiehl, M.Sc.
Zentrum für Informations- und Mediendienste (ZIM)
Universität Duisburg Essen
Schützenbahn 70
45127 Essen
Telefon: +49 (201) 183-3346

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6342 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200701/faab93be/attachment.bin>


More information about the midPoint mailing list