Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-2276

Resource Schema ra:displayNameAttribute not used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1 (Sinan)
    • Fix Version/s: 3.2 (Tycho)
    • Component/s: None
    • Labels:
      None

      Description

      Changing the displayNameAttribute in resource schema to any account attribute doesnt change thing in midPoint GUI - e.g. listing Accounts under Resource tab or when editing User. Seems like its not working.

      This is my DatabaseTable connector resource. Unfortunatelly, the real display name of account is always icfs:uid=icfs:name no matter what i set in displayNameAttribute.

      <xsd:complexType name="AccountObjectClass">
      <xsd:annotation>
      <xsd:appinfo>
      <ra:resourceObject/>
      <ra:identifier>icfs:uid</ra:identifier>
      <ra:secondaryIdentifier xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:DZC</ra:secondaryIdentifier>
      <ra:displayNameAttribute>ri:DZC</ra:displayNameAttribute>
      <ra:namingAttribute>ri:DZC</ra:namingAttribute>
      <ra:nativeObjectClass>_ACCOUNT_</ra:nativeObjectClass>
      <ra:kind>account</ra:kind>
      <ra:default>true</ra:default>
      </xsd:appinfo>
      </xsd:annotation>

      https://wiki.evolveum.com/display/midPoint/Resource+Schema#ResourceSchema-displayNameAttribute

        Attachments

          Activity

            People

            Assignee:
            martin.lizner Martin Lizner
            Reporter:
            martin.lizner Martin Lizner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: