<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Marco,<br></div><div><br></div><div></div><div>yes, in the previous versions there wasn't possibility to work with complex path in reports. I just pushed the improvement to master (git version <span style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;" data-mce-style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;">d4c0881) to support it. Now you can try to use:</span></div><div><span style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;" data-mce-style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;"><br></span></div><div><span style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;" data-mce-style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;"><span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;">extension/myattriubte in "report field" and then <span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;">textFieldExpression: <textFieldExpression><![CDATA[$F{/extension/myattribute}]]></textFieldExpression></span></span></span></div><div><br></div><div>Let me know if it works for you,</div><div>Best regards,</div><div>Katarina Valalikova</div><div><span style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;" data-mce-style="font-family: Helvetica; font-size: 13px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;"><span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;"><br></span></span></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Marco Benucci" <benucci.marco92@gmail.com><br><b>To: </b>midpoint@lists.evolveum.com<br><b>Sent: </b>Monday, June 13, 2016 11:27:34 AM<br><b>Subject: </b>[midPoint] get extension attribute in a jasper report<br><div><br></div><div dir="ltr">Hi,<br><div><br></div>I'd like to get some extension attributes from users when I make the "User in midPoint" report.<br><div><br></div>I have tried in "report field":<div>name: /extension/myattriubte <br>Class: java.lang.String<div>textFieldExpression: <textFieldExpression><![CDATA[$F{/extension/myattribute}]]></textFieldExpression></div><div><br></div><div>or</div><div> </div><div>name: Extension </div><div>Class: "com.evolveum.midpoint.xml.ns._public.common.common_3.ExtensionType"</div><div><br></div><div>textfieldExpression: <textFieldExpression><![CDATA[$F{Extension}.getAny().toString()]]></textFieldExpression></div></div><div><br></div><div><br></div><div>but without result....<br></div></div>
<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>http://lists.evolveum.com/mailman/listinfo/midpoint<br></div><div><br></div></div></body></html>