<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle22
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I may have spoken too soon. It appears just explicitly providing the attribute name works, was testing in the query playground without success. My provided filter that is currently working is outlined below:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><work><o:p></o:p></p>
<p class="MsoNormal"> <import><o:p></o:p></p>
<p class="MsoNormal"> <resourceObjects><o:p></o:p></p>
<p class="MsoNormal"> <resourceRef oid="OID"/><o:p></o:p></p>
<p class="MsoNormal"> <objectclass>ri:AccountObjectClass</objectclass><o:p></o:p></p>
<p class="MsoNormal"> <query><o:p></o:p></p>
<p class="MsoNormal"> <q:filter><o:p></o:p></p>
<p class="MsoNormal"> <q:equal><o:p></o:p></p>
<p class="MsoNormal"> <q:path>attributes/ATTRIBUTE_NAME</q:path><o:p></o:p></p>
<p class="MsoNormal"> <q:value>ATTRIBUTE_VALUE</q:value><o:p></o:p></p>
<p class="MsoNormal"> </q:equal><o:p></o:p></p>
<p class="MsoNormal"> </q:filter><o:p></o:p></p>
<p class="MsoNormal"> </query><o:p></o:p></p>
<p class="MsoNormal"> <queryApplication>append</queryApplication><o:p></o:p></p>
<p class="MsoNormal"> </resourceObjects><o:p></o:p></p>
<p class="MsoNormal"> </import><o:p></o:p></p>
<p class="MsoNormal"></work><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jeremiah Haywood<o:p></o:p></p>
<p class="MsoNormal">Lead IAM Administrator<o:p></o:p></p>
<p class="MsoNormal">Office of Technology Solutions | Illinois State University<o:p></o:p></p>
<p class="MsoNormal">Phone Number (309) 438-3829<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> midPoint <midpoint-bounces@lists.evolveum.com> <b>
On Behalf Of </b>Haywood, Jeremiah via midPoint<br>
<b>Sent:</b> Tuesday, March 7, 2023 1:28 PM<br>
<b>To:</b> midpoint@lists.evolveum.com<br>
<b>Cc:</b> Haywood, Jeremiah <jhaywo1@ilstu.edu><br>
<b>Subject:</b> [midPoint] Midpoint Targeted Import by Resource Attribute<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100.0%">
<tbody>
<tr>
<td style="background:#A6A6A6;padding:5.25pt 1.5pt 5.25pt 1.5pt"></td>
<td width="100%" style="width:100.0%;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 11.25pt;overflow-wrap: break-word">
<div>
<p class="MsoNormal" style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#212121">This message originated from outside of the Illinois State University email system.
<a href="https://help.illinoisstate.edu/technology/page-88179827.html" target="_blank">
Learn why this is important</a><o:p></o:p></span></p>
</div>
</td>
<td width="75" style="width:56.25pt;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 3.75pt;overflow-wrap: break-word">
</td>
</tr>
</tbody>
</table>
<div>
<p class="MsoNormal">I have come across the need to do a targeted import of resource objects. I am able to reference the identifier in the filter, e.g. attributes/name, but I would like to filter on other attributes that exist on the account. When I look at
the shadow, it seems that only the identifier is cached on the object. Is it possible to search by another attribute without specifically caching it in midpoint? If so, any examples would be greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jeremiah Haywood<o:p></o:p></p>
<p class="MsoNormal">Lead IAM Administrator<o:p></o:p></p>
<p class="MsoNormal">Office of Technology Solutions | Illinois State University<o:p></o:p></p>
<p class="MsoNormal">Phone Number (309) 438-3829<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>