<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic arcpy export pdf not all labels displaying in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-export-pdf-not-all-labels-displaying/m-p/412597#M32468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a python script that updates an xy layer event in a mxd updating point locations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It also updates labels for this new xy layer event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It then exports the mxd to pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that only my labels that are integers within a text field are shown in the .pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the labelClasses property of the layer and setting the expression equal to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"&amp;lt;FNT name = 'Arial' size = '12'&amp;gt;&amp;lt;BOL&amp;gt; &amp;amp; [LABEL] &amp;amp; &amp;lt;/BOL&amp;lt;/FNT&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;showLabels = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;showClassLabels = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where [LABEL] is a valid field name and only displays if the field "LABEL" contains an integer which is a string value of an integer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The field "LABEL" is a text field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I pause my script and look at the mxd, before exporting to .pdf all labels show up properly.&amp;nbsp; Only after I export to .pdf do the string labels not show up in the .pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to post the script sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"1", "1234" work fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"foo", "1,234" do not display in my pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on what could be wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 12:34:32 GMT</pubDate>
    <dc:creator>RyanStephany</dc:creator>
    <dc:date>2013-01-09T12:34:32Z</dc:date>
    <item>
      <title>arcpy export pdf not all labels displaying</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-export-pdf-not-all-labels-displaying/m-p/412597#M32468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a python script that updates an xy layer event in a mxd updating point locations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It also updates labels for this new xy layer event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It then exports the mxd to pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that only my labels that are integers within a text field are shown in the .pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the labelClasses property of the layer and setting the expression equal to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"&amp;lt;FNT name = 'Arial' size = '12'&amp;gt;&amp;lt;BOL&amp;gt; &amp;amp; [LABEL] &amp;amp; &amp;lt;/BOL&amp;lt;/FNT&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;showLabels = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;showClassLabels = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where [LABEL] is a valid field name and only displays if the field "LABEL" contains an integer which is a string value of an integer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The field "LABEL" is a text field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I pause my script and look at the mxd, before exporting to .pdf all labels show up properly.&amp;nbsp; Only after I export to .pdf do the string labels not show up in the .pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to post the script sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"1", "1234" work fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"foo", "1,234" do not display in my pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on what could be wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 12:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-export-pdf-not-all-labels-displaying/m-p/412597#M32468</guid>
      <dc:creator>RyanStephany</dc:creator>
      <dc:date>2013-01-09T12:34:32Z</dc:date>
    </item>
  </channel>
</rss>

