[midPoint] How to add extension-attribute from HR - inbound Schema ?

Bao Tran bao.tran at csit.fi
Mon Jun 30 18:40:57 CEST 2025


Hi all,

1. We have successfully added an AssignmentExtensionSchema.xml
(attachment) with detail:
- extension ref="c:AssignmentType"
- name=JobTitle
- DisplayName=*title*

And in  midpoint GUI , it look like screenshot below
[image: title extension.png]


2. Currently, we can only add assignment to user via OrganizationName
(below xml)

Our goal: is how to configure the *HR-application-inbound.xml.* ::
*inbound-schema* , in order to
- Assign the user into Organization and add value for the *title* (which is
extension above)


<attribute id="49">
        <ref>ri:OrganizationName</ref>
              <inbound id="50">
                            <name>set-org-level1</name>
                            <expression>
                            <assignmentTargetSearch>
                                   <targetType>OrgType</targetType>
                                         <filter>
                                            <q:equal>
                                                   <q:path>name</q:path>
                                                   <expression>
                                                          <script>
                                                                 <code>input
 </code>
                                                           </script>
                                                      </expression>
                                               </q:equal>
                                           </filter>
                                    </assignmentTargetSearch>
                                 </expression>

                                 * <target>*
*                                         <path>assignment</path>*
                                        <-- We can only find the
OrganizationName
and make assignment for user -->
                                        <-- How do we set value for
extension::JobTitle above ? -->
                                   *</target>*
               </inbound>
</attribute>

Thank you in advance
-- 
Bao Tran
Software developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250630/756351bc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: title extension.png
Type: image/png
Size: 135041 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250630/756351bc/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AssignmentExtensionSchema.xml
Type: text/xml
Size: 1968 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250630/756351bc/attachment-0001.xml>


More information about the midPoint mailing list