<div dir="ltr">See, I said it would be simple. I looked that over and a few others like it a few times and it just did not register with me that "orgpath" was an extension which it should have. So I just need to create an extension and then base it off that. I am sure I can create a path within my scriptedsql to populate it.<div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div>
<br><div class="gmail_quote">On Mon, Jul 18, 2016 at 11:07 AM, Ivan Noris <span dir="ltr"><<a href="mailto:ivan.noris@evolveum.com" target="_blank">ivan.noris@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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<div><div class="h5"><br>
<br>
<div>On 07/18/2016 05:46 PM, Jason Everling
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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 data-smartmail="gmail_signature">
<div dir="ltr">JASON</div>
</div>
</div>
</div>
</div>
<br>
</div></div><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></fieldset>
<br>
<pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Ing. Ivan Noris
Senior Identity Management Engineer & IDM Architect
<a href="http://evolveum.com" target="_blank">evolveum.com</a> <a href="http://evolveum.com/blog/" target="_blank">evolveum.com/blog/</a>
___________________________________________________
"Semper ID(e)M Vix."
</pre>
</font></span></div>
<br>_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></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>