[midPoint] Adding Custom Attributes to Midpoint

Brad Fardig brad.fardig at cogitogroup.com.au
Mon Aug 22 23:56:31 CEST 2016


Hi Matt,



This doc provides an example of how to add the schema extensions that you 
require: 
<https://wiki.evolveum.com/display/midPoint/Custom+Schema+Extension> 
https://wiki.evolveum.com/display/midPoint/Custom+Schema+Extension



Hope this helps



Regards,



Brad









From: midPoint [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of 
Mencel, Matt
Sent: Tuesday, 23 August 2016 7:39 AM
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Subject: [midPoint] Adding Custom Attributes to Midpoint



I have lots of custom attributes in my different resources (e.g. studentId, 
major, minor, etc....).  I'd like to add this and many others to Midpoint so I 
can sync them between resources.  I see there is an objectTemplate that can be 
used, but the examples I've seen only only show using that to do actions like 
create fullName from givenName and familyName.



Do I also use objectTemplate when I just want to sync a new attribute in from 
a resource?  Or should it be picking that up from the schema?



I get errors like this when attempting to import an account with a custom 
attribute.



2016-08-22 16:35:45,425 [] [http-nio-8080-exec-4] WARN 
(com.evolveum.midpoint.provisioning.impl.ResourceManager): Schema error while 
processing schemaHandling section of 
resource:0d6babea-6896-11e6-9d38-0050569aa9d2(CSV TEADVS): Definition of 
attribute studentmajor not found in object class 
{http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}AccountObjectClass 
<http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7dAccountObjectClass> 
as defined in definition of resource:0d6babea-6896-11e6-9d38-0050569aa9d2(CSV 
TEADVS)







This email, and any attachment, is confidential and also privileged. If you 
have received it in error, please notify me immediately and delete it from 
your system along with any attachments. You should not copy or use it for any 
purpose, nor disclose its contents to any other person.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160822/d7da80e1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5015 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160822/d7da80e1/attachment.bin>


More information about the midPoint mailing list