<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jason,<br>
<br>
for example in
midpoint/testing/story/src/test/resources/orgsync/object-template-org.xml,
see line 46:<br>
<br>
that's the "fixed org root" returning in the search/query if we do
not wish to recurse any further. In this case we are only creating
the structure based on the tokenized orgpath attribute. So when we
are done, we will return fixed root instead.<br>
<br>
The "TOP" is the name of the organization defined in org-top.xml
file.<br>
<br>
So I believe you can do what you need there...<br>
<br>
Regards,<br>
Ivan<br>
<br>
<div class="moz-cite-prefix">On 07/18/2016 05:46 PM, Jason Everling
wrote:<br>
</div>
<blockquote
cite="mid:CAFkZXY47qnmZKiMLbmV1GK_8URgr4Od2DyFvL7ftgJdg3sX9zw@mail.gmail.com"
type="cite">
<div dir="ltr">I was starting to try out the createondemand
feature for org units but from all the samples and docs I could
not figure out a way to have the system create the org units
under a specific root, like "Another Org Unit"?
<div><br>
</div>
<div>Lets say I have</div>
<div><br>
</div>
<div>Root Org</div>
<div> - Sub Org Unit</div>
<div> - Another Org Unit</div>
<div><br>
</div>
<div>The createondemand would either put a new org unit under
either of the 2 based on the name of the unit to be created or
some other identifier or regex</div>
<div><br>
</div>
<div>I am sure this is probably a simple answer but I have not
came across it.</div>
<div><br clear="all">
<div>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">JASON</div>
</div>
</div>
</div>
</div>
<br>
<font size="2"><br>
<br>
CONFIDENTIALITY NOTICE:<br>
This e-mail together with any attachments is proprietary and
confidential; intended for only the recipient(s) named above and
may contain information that is privileged. You should not
retain, copy or use this e-mail or any attachments for any
purpose, or disclose all or any part of the contents to any
person. Any views or opinions expressed in this e-mail are those
of the author and do not represent those of the Baptist School
of Health Professions. If you have received this e-mail in
error, or are not the named recipient(s), you are hereby
notified that any review, dissemination, distribution or copying
of this communication is prohibited by the sender and to do so
might constitute a violation of the Electronic Communications
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately
notify the sender and delete this e-mail and any attachments
from your computer. </font><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ing. Ivan Noris
Senior Identity Management Engineer & IDM Architect
evolveum.com evolveum.com/blog/
___________________________________________________
"Semper ID(e)M Vix."
</pre>
</body>
</html>