<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Sylfaen;
        panose-1:1 10 5 2 5 3 6 3 3 3;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Sylfaen",serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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=FR-CA link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Sylfaen",serif'>Hello everyone,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>I’m wondering if someone could help me here. Using an export plugin, I would like to export a value from a subject tree.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>Currently, the code is: <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Courier New"'>$data->{B} = $dataobj->get_value( "divisions" ) if $dataobj->exists_and_set( "divisions" );<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>This works, but it exports the “subject ID string” rather than the rendered subject. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>How can I export the associated subject instead of the ID? Our archive is multilingual but these “subjects” are in only one language.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR-CA'><img width=174 height=83 style='width:1.8086in;height:.8608in' id="_x0000_i1025" src="http://www.polymtl.ca/sc/img/logoType/logoseul/gauche/polytechnique_gauche_cmyk.jpg" alt="http://www.polymtl.ca/sc/img/logoType/logoseul/gauche/polytechnique_gauche_cmyk.jpg"></span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><b><span style='color:black;mso-fareast-language:FR-CA'>Robin Sylvestre</span></b><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Technicien en documentation</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Services techniques et systèmes informatisés</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Bibliothèque Louise-Lalonde-Lamarre</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>École Polytechnique de Montréal</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Tél.: 514-340-4711 poste 3743</span><o:p></o:p></p></div></body></html>