[midPoint] Deleting custom schema attribute

Rodrigo Yanis ryanis at identicum.com
Mon Jan 23 17:45:37 CET 2017


Thanks for your answers. We'll try this and let you know!


*Rodrigo Yanis.*
Identicum S.A.
Jorge Newbery 3226
Tel: +54 (11) 4824-9971
ryanis at identicum.com
www.identicum.com

2017-01-23 10:20 GMT-03:00 Martin Lízner - AMI Praha a.s. <
martin.lizner at ami.cz>:

> Hi, this is my bulk script to remove value of indexed attribute:
>
> <searchFilter>
>       <q:not>
>           <q:equal>
>               <q:path>extension/position_name</q:path>
>           </q:equal>
>       </q:not>
>     </searchFilter>
>     <action>
>         <type>modify</type>
>         <parameter>
>           <name>delta</name>
>           <c:value>
>             <itemDelta>
>               <modificationType>replace</modificationType>
>               <path>extension/position_name</path>
>             </itemDelta>
>           </c:value>
>         </parameter>
>     </action>
>
> M.
>
> Martin Lízner
> solution architect
>
> gsm: [+420] 737 745 571
> e-mail: martin.lizner at ami.cz
>
>
> AMI Praha a.s.
> Pláničkova 11
> 162 00 Praha 6
> tel.: [+420] 274 783 239
> web: www.ami.cz
>
>
>
> [image: AMI Praha a.s.] <http://www.skyidentity.com/>
>
> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
> společnost AMI Praha a.s.
> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
> písemnou formu.
>
>
> 2017-01-23 13:59 GMT+01:00 Pálos Gustáv <gustav.palos at evolveum.com>:
>
>> Hi Yanis,
>>
>> the best way is:
>> 1) remove old values from each user,
>> 2) remove this extended attribute from the schema.
>>
>> Best regards
>>
>> Gustav
>>
>> 2017-01-23 13:39 GMT+01:00 Rodrigo Yanis <ryanis at identicum.com>:
>>
>>> Hello everyone,
>>>
>>> We're currently in need to delete a custom set of attributes on the
>>> MidPoint schema level, that have already been placed into users (valued).
>>> We already tried by simply deleting the attributes' definition on the
>>> custom attributes' schema file and, as it seem to be working properly, we
>>> get a trace of warnings on the log indicating that certain attributes are
>>> not found for certain users.
>>>
>>> What would be the proper way to delete a custom attribute in MidPoint?
>>> Is there a best practice for this?
>>>
>>> Thanks in advance,
>>>
>>> *Rodrigo Yanis.*
>>> Identicum S.A.
>>> Jorge Newbery 3226
>>> Tel: +54 (11) 4824-9971 <+54%2011%204824-9971>
>>> ryanis at identicum.com
>>> www.identicum.com
>>>
>>> _______________________________________________
>>> midPoint mailing list
>>> midPoint at lists.evolveum.com
>>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>>>
>>
>>
>> --
>> Gustáv Pálos
>> Identity Engineer
>> evolveum.com
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170123/043cf89b/attachment.htm>


More information about the midPoint mailing list