<div dir="ltr">Hi Jan,<div><br></div><div>do you have "fullname" column (with the same cases) in your CSV file in the header?</div><div>If yes, please delete <schema> section in resource, reTest the resource and try again (maybe you changes CSV file structure from last schema parsing)</div><div><br></div><div>If you don't have this column and you need to generate full name from givenName and familyName, please see object templates:</div><div><a href="https://wiki.evolveum.com/display/midPoint/Object+Template#ObjectTemplate-Examples">https://wiki.evolveum.com/display/midPoint/Object+Template#ObjectTemplate-Examples</a><br></div><div><br></div><div>best regards,</div><div><br></div><div>Gustav<br><div class="gmail_extra"><br><div class="gmail_quote">2017-11-05 21:15 GMT+01:00 Jan Kaspar <span dir="ltr"><<a href="mailto:Caspi@seznam.cz" target="_blank">Caspi@seznam.cz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hello,<div><br></div><div>i am trying to setup base lab environment similar to book example. But i have few troubles from beginning.</div><div>currenbt version is 3.6.1 and examples like resource for importing CSV not work anymore.</div><div><br></div><div>So I am trying to create it from scratch. I have simple problem:</div><div><br></div><div>part of my definition is:</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre-wrap"><div>    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">schemaHandling</span><span style="color:rgb(128,128,128)">></span></div><div>        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">objectType</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span>Defau<wbr>lt Account<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">default</span><span style="color:rgb(128,128,128)">></span>true<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">def<wbr>ault</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">objectClass</span><span style="color:rgb(128,128,128)">></span>ri:<wbr>AccountObjectClass<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">objectClas<wbr>s</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span>ri:guid<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)"><wbr>ref</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span>id<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">limitations</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">access</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">read</span><span style="color:rgb(128,128,128)">></span><wbr>true<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">read</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">access</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">limitations</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><br><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span>ri:<wbr>username<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span><wbr>$user/name<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><br><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span>ri:<wbr>firstname<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span>F<wbr>irst name<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span><wbr>$user/givenName<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><br><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span>ri:<wbr>lastname<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span>L<wbr>ast name<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span><wbr>$user/familyName<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><br><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span>ri:<wbr>fullname<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">ref</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span>F<wbr>ull name<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">displayName</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span>$user/familyName<span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">path</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">target</span><span style="color:rgb(128,128,128)">></span></div><div><div style="line-height:19px"><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">expressio<wbr>n</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">scrip<wbr>t</span><span style="color:rgb(128,128,128)">></span></div><div>                            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">c<wbr>ode</span><span style="color:rgb(128,128,128)">></span></div><div>                              <wbr>  givenName + ' ' + familyName</div><div>                            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)"><wbr>code</span><span style="color:rgb(128,128,128)">></span></div><div>                        <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">scri<wbr>pt</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">expressi<wbr>on</span><span style="color:rgb(128,128,128)">></span></div></div></div><div>                <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">attribute</span><span style="color:rgb(128,128,128)">></span></div><br><div>            <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">activation</span><span style="color:rgb(128,128,128)">></span></div><div>                <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">administrativ<wbr>eStatus</span><span style="color:rgb(128,128,128)">></span></div><div>                    <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">inbound</span><span style="color:rgb(128,128,128)">/></span></div><div>                <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">administrati<wbr>veStatus</span><span style="color:rgb(128,128,128)">></span></div><div>            <span style="color:rgb(128,128,128)"></</span><span style="color:rgb(86,156,214)">activation</span><span style="color:rgb(128,128,128)">></span></div></div></div><div><br></div><div>but with this example i for error:</div><div><br></div><div><div style="box-sizing:border-box;color:rgb(255,255,255);padding:10px;border-bottom:1px solid rgb(244,244,244);background:rgb(243,156,18);font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px"><span style="box-sizing:border-box;display:inline-block;font-variant-numeric:normal;font-stretch:normal;line-height:1;font-family:FontAwesome;font-size:18px;margin:0px 10px 0px 0px"></span><a style="box-sizing:border-box;background:rgba(0,0,0,0.1);color:rgb(255,255,255);text-decoration-line:none;outline:none;display:inline-block;margin:0px;line-height:1"><span style="box-sizing:border-box;font-weight:700;display:inline-block;margin:0px;line-height:1">Schema error while processing schemaHandling section of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1): Definition of attribute fullname not found in object class {http://midpoint.evolveum.com/<wbr>xml/ns/public/resource/<wbr>instance-3}AccountObjectClass as defined in definition of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1): Schema error while processing schemaHandling section of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1): Definition of attribute fullname not found in object class {http://midpoint.evolveum.com/<wbr>xml/ns/public/resource/<wbr>instance-3}AccountObjectClass as defined in definition of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1)</span></a><div style="box-sizing:border-box;float:right"><div style="box-sizing:border-box;display:inline-block;padding:5px;margin-bottom:0px;font-size:12px;line-height:1;text-align:center;white-space:nowrap;vertical-align:middle;background:transparent;border:0px;border-radius:3px;font-variant-numeric:normal;font-stretch:normal;font-family:FontAwesome"></div> <div style="box-sizing:border-box;display:inline-block;padding:5px;margin-bottom:0px;font-size:12px;line-height:1;text-align:center;white-space:nowrap;vertical-align:middle;background:transparent;border:0px;border-radius:3px;font-variant-numeric:normal;font-stretch:normal;font-family:FontAwesome"></div> <div style="box-sizing:border-box;display:inline-block;padding:5px;margin-bottom:0px;font-size:12px;line-height:1;text-align:center;white-space:nowrap;vertical-align:middle;background:transparent;border:0px;border-radius:3px;font-variant-numeric:normal;font-stretch:normal;font-family:FontAwesome"></div></div></div><div style="box-sizing:border-box;border-radius:0px 0px 3px 3px;padding:5px 0px 0px 10px;color:rgb(51,51,51);font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px"><div style="box-sizing:border-box"><dl style="box-sizing:border-box;margin-bottom:20px"><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap">Operation</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word"><span style="box-sizing:border-box;font-weight:700">operation.com.evolveum.<wbr>midpoint.web.page.admin.<wbr>resources.PageResource.<wbr>loadResource</span></dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap">Message</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word">Schema error while processing schemaHandling section of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1): Definition of attribute fullname not found in object class {<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7DAccountObjectClass" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/resource/<wbr>instance-3}AccountObjectClass</a> as defined in definition of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1): Schema error while processing schemaHandling section of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1): Definition of attribute fullname not found in object class {<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7DAccountObjectClass" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/resource/<wbr>instance-3}AccountObjectClass</a> as defined in definition of resource:ef2bc95b-76e0-59e2-<wbr>86d6-9999cccccccc(Test CSV1)</dd><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word"><table style="box-sizing:border-box;border-collapse:collapse;background-color:transparent;border:0px"></table></dd><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word"></dd></dl><div style="box-sizing:border-box"><div style="box-sizing:border-box"><div style="box-sizing:border-box;border-radius:3px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border-width:0px 0px 0px 3px;border-top-style:initial;border-top-color:initial;margin-bottom:20px;width:1367px;word-break:inherit;border-right-style:initial;border-bottom-style:initial;border-left-style:solid;border-right-color:initial;border-bottom-color:initial;border-left-color:rgb(243,156,18)"><div style="box-sizing:border-box;color:rgb(255,255,255);padding:10px;border-bottom:1px solid rgb(244,244,244);background:rgb(243,156,18)"><span style="box-sizing:border-box;display:inline-block;font-variant-numeric:normal;font-stretch:normal;line-height:1;font-family:FontAwesome;font-size:18px;margin:0px 10px 0px 0px"></span></div></div></div></div></div></div></div><div>Can anyone help me? what if i have csv with address, cell phone, work phone etc. I stuck on begining of my tests so not good.</div><div><br></div><div>Thanks</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div><div>Jan</div><div><br></div></font></span></div><br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Gustáv Pálos</div><div>Identity Engineer</div><a href="http://evolveum.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">evolveum.com</a><br></div></div>
</div></div></div>