<?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 Re: Labeling Expression for website URL? in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673095#M9137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Colli,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the user to click on the state to open a URL, have you tried enabling the hyperlink option under properties for the layer? You can also export the PDF with attributes fields enabled. I assume that this might allow you to still access the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Nov 2012 20:30:18 GMT</pubDate>
    <dc:creator>CPoynter</dc:creator>
    <dc:date>2012-11-18T20:30:18Z</dc:date>
    <item>
      <title>Labeling Expression for website URL?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673094#M9136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an issue where I need to provide a pdf map of the country where each state has a label. Each label comes from the attribute table. The field that contains the label is a website. Each state with a unique url.&amp;nbsp; I can label using the url, which allows the user to click on the label in adobe reader which will launch that website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I use a vbscript or python script in the display expression to make the url only show partially, or to show a full alias such as the word "link", where the true url will still be launched?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 14:15:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673094#M9136</guid>
      <dc:creator>BugPie</dc:creator>
      <dc:date>2012-11-16T14:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Expression for website URL?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673095#M9137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Colli,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the user to click on the state to open a URL, have you tried enabling the hyperlink option under properties for the layer? You can also export the PDF with attributes fields enabled. I assume that this might allow you to still access the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 20:30:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673095#M9137</guid>
      <dc:creator>CPoynter</dc:creator>
      <dc:date>2012-11-18T20:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Expression for website URL?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673096#M9138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Craig - Good morning. Thanks for your reply. I do have the hyperlink option turned on, and working properly. However, this functionality does not carry over to a geopdf. Well, I have not figured out how, maybe this is something that ESRI can shed some light on.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been using the geopdf (export with attributes) for this task. The problem I run into is that the link is not clickable, copy or paste etc in the attribute window within in Adobe Reader or Acrobat. The attribute table does show in adobe when I use the data model tree or object data tools, but it's pretty much a static image. I have not figured out how to allow users to copy and paste any record shown in the attribute table. Which woudl work fine for this task if that was the only way to go about it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm left with my last option I think. I need help in writing a label expression, that will shorten the url in the label, but still allow for a user to click and connect to that website.&amp;nbsp; I have found some short vbscript that will truncate the url, but once that is exported to the pdf, the full ur is not red by adobe.&amp;nbsp; An example is, I have truncated the display label to only&amp;nbsp; display 10 characters. But when you hover over the lablel(url) in adobe, it will try to connect me to "www.califo" instead of the full address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have an idea as to the code I woudl need to launch a website but not show it's true url on the label?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 11:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673096#M9138</guid>
      <dc:creator>BugPie</dc:creator>
      <dc:date>2012-11-19T11:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Expression for website URL?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673097#M9139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;anyone out there have an idea for us?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labeling-expression-for-website-url/m-p/673097#M9139</guid>
      <dc:creator>BugPie</dc:creator>
      <dc:date>2012-11-27T13:49:49Z</dc:date>
    </item>
  </channel>
</rss>

