[midPoint] Resource CSV
Jan Kaspar
Caspi at seznam.cz
Sun Nov 5 21:15:13 CET 2017
Hello,
i am trying to setup base lab environment similar to book example. But i
have few troubles from beginning.
currenbt version is 3.6.1 and examples like resource for importing CSV not
work anymore.
So I am trying to create it from scratch. I have simple problem:
part of my definition is:
<schemaHandling>
<objectType>
<displayName>Default Account</displayName>
<default>true</default>
<objectClass>ri:AccountObjectClass</objectClass>
<attribute>
<ref>ri:guid</ref>
<displayName>id</displayName>
<limitations>
<access>
<read>true</read>
</access>
</limitations>
</attribute>
<attribute>
<ref>ri:username</ref>
<inbound>
<target>
<path>$user/name</path>
</target>
</inbound>
</attribute>
<attribute>
<ref>ri:firstname</ref>
<displayName>First name</displayName>
<inbound>
<target>
<path>$user/givenName</path>
</target>
</inbound>
</attribute>
<attribute>
<ref>ri:lastname</ref>
<displayName>Last name</displayName>
<inbound>
<target>
<path>$user/familyName</path>
</target>
</inbound>
</attribute>
<attribute>
<ref>ri:fullname</ref>
<displayName>Full name</displayName>
<inbound>
<target>
<path>$user/familyName</path>
</target>
<expression>
<script>
<code>
givenName + ' ' + familyName
</code>
</script>
</expression>
</inbound>
</attribute>
<activation>
<administrativeStatus>
<inbound/>
</administrativeStatus>
</activation>
but with this example i for error:
Schema error while processing schemaHandling section of resource:ef2bc95b-
76e0-59e2-86d6-9999cccccccc(Test CSV1): Definition of attribute fullname
not found in object class {http://midpoint.evolveum.com/xml/ns/public/
resource/instance-3}AccountObjectClass as defined in definition of
resource:ef2bc95b-76e0-59e2-86d6-9999cccccccc(Test CSV1): Schema error
while processing schemaHandling section of resource:ef2bc95b-76e0-59e2-86d6
-9999cccccccc(Test CSV1): Definition of attribute fullname not found in
object class {http://midpoint.evolveum.com/xml/ns/public/resource/instance-
3}AccountObjectClass as defined in definition of resource:ef2bc95b-76e0-59e
2-86d6-9999cccccccc(Test CSV1)
Operation
operation.com.evolveum.midpoint.web.page.admin.resources.PageResource.
loadResource
Message
Schema error while processing schemaHandling section of resource:ef2bc95b-
76e0-59e2-86d6-9999cccccccc(Test CSV1): Definition of attribute fullname
not found in object class {http://midpoint.evolveum.com/xml/ns/public/
resource/instance-3}AccountObjectClass as defined in definition of
resource:ef2bc95b-76e0-59e2-86d6-9999cccccccc(Test CSV1): Schema error
while processing schemaHandling section of resource:ef2bc95b-76e0-59e2-86d6
-9999cccccccc(Test CSV1): Definition of attribute fullname not found in
object class {http://midpoint.evolveum.com/xml/ns/public/resource/instance-
3}AccountObjectClass as defined in definition of resource:ef2bc95b-76e0-59e
2-86d6-9999cccccccc(Test CSV1)
Can anyone help me? what if i have csv with address, cell phone, work phone
etc. I stuck on begining of my tests so not good.
Thanks
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171105/8228c48c/attachment.htm>
More information about the midPoint
mailing list