<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
GenericObjectType was introduced to midPoint design very early. But
honestly, it was never really used much. What we usually do it to
use other existing midPoint objects and "derive" new object type
from that. E.g. teams, projects, companies can be modeled as
OrgType, networks, applications, virtual machines, cloud services,
devices, printets can be modeled as ServiceType and so on.
Individual "subtypes" are usually differentiated by using the
subtype fields (roleType, orgType, serviceType). This is much better
than creating new types from scratch. If new type is derived from
midPoint types then they automatically inhering part of midPoint
functionality (e.g. object templates, application of meta-roles,
policy rules, ...)<br>
<br>
This is the way forward. However, the functionality is not perfect
yet. There are some improvements planned for 3.8 (e.g. unify
roleType, orgType and serviceType to single subtype). That will
improve the situation a bit, but it is not definitive solution yet.
The real solution is the proposed archetype feature:<br>
<br>
<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Archetypes">https://wiki.evolveum.com/display/midPoint/Archetypes</a><br>
<br>
We are looking for funding for this functionality. If you are
interested then please contact Evolveum sales.<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
<div class="moz-cite-prefix">On 10/24/2017 02:21 PM, Нуриев Илья
Равильевич wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ab5361b8abc441f6ac8e1b5194698f62@CAB-VSP-MBX1106.sigma.sbrf.ru">
<meta http-equiv="Content-Type" content="text/html;
charset=koi8-r">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Текст Знак";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.a
{mso-style-name:"Текст Знак";
mso-style-priority:99;
mso-style-link:Текст;
font-family:"Calibri","sans-serif";}
span.shorttext
{mso-style-name:short_text;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoPlainText"><span class="shorttext"><span lang="EN">I
have a task to create a custom
</span></span><span class="shorttext"><span lang="EN-US">object
(catalog)</span></span><span class="shorttext"><span
lang="EN"> ...</span></span><span class="shorttext"><span
lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoPlainText"><span lang="EN-US">Where can I find an
example of creating an entity (custom object) as a
GenericObjectType?
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Where can I find an
example of how to add the created object to the gui?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText">Best Regards,<o:p></o:p></p>
<p class="MsoPlainText">Ilya<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
УВЕДОМЛЕНИЕ О КОНФИДЕНЦИАЛЬНОСТИ: Это электронное сообщение и
любые документы, приложенные к нему, содержат конфиденциальную
информацию. Настоящим уведомляем Вас о том, что если это сообщение
не предназначено Вам, использование, копирование, распространение
информации, содержащейся в настоящем сообщении, а также
осуществление любых действий на основе этой информации, строго
запрещено. Если Вы получили это сообщение по ошибке, пожалуйста,
сообщите об этом отправителю по электронной почте и удалите это
сообщение. CONFIDENTIALITY NOTICE: This email and any files
attached to it are confidential. If you are not the intended
recipient you are notified that using, copying, distributing or
taking any action in reliance on the contents of this information
is strictly prohibited. If you have received this email in error
please notify the sender and delete this email.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>