<?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: Python question to automate attribute information in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305099#M23696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you mostly stuck on how to automate this by row (could use the Field Calculator or python update cursor or python to call Calculate Field) or through multiple feature classes (same as repeating by row, but also using python to loop through feature classes)? Or are you asking how to automatically calculate the field by editing a different field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 17:37:27 GMT</pubDate>
    <dc:creator>DarrenWiens2</dc:creator>
    <dc:date>2015-02-26T17:37:27Z</dc:date>
    <item>
      <title>Python question to automate attribute information</title>
      <link>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305098#M23695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, I have very little Python experience and&lt;BR /&gt;would like to know if the following repetitive task would be suitable to&lt;BR /&gt;automate through python… My task is to update attributes for utility lines and&lt;BR /&gt;one of the attributes is a field called DOCID which is the associated&lt;BR /&gt;engineering document number. In the past there was a hyperlink between the&lt;BR /&gt;DOCID number and the associated PDF version of the engineering drawing, so that&lt;BR /&gt;when staff needs to look up the drawing for a sewer line, they could just click&lt;BR /&gt;on the sewer line in the web application and get the associated engineering&lt;BR /&gt;drawing as a PDF. Since we are now using Silverlight (we used ArcIMS in the&lt;BR /&gt;past) we now have to have two fields for DOCID, one of the fields holds the&lt;BR /&gt;document ID number (DOCID field) which is a 9 digit identification number and&lt;BR /&gt;the other field is called DOC LINK which is the hyperlink to the drawing&lt;BR /&gt;followed by the DOCID number: &lt;A href="http://websv01/idmws/ISAPILogon.asp?Library=ocsd%5eEDMS&amp;amp;ID=003894611"&gt;http://websv01/idmws/ISAPILogon.asp?Library=ocsd^EDMS&amp;amp;ID=&lt;STRONG&gt;003894611&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The last nine digits on the hyperlink is the DOCID number.&lt;BR /&gt;Is there a way through python to automatically fill in the hyperlink: &lt;A href="http://websv01/idmws/ISAPILogon.asp?Library=ocsd%5eEDMS&amp;amp;ID"&gt;http://websv01/idmws/ISAPILogon.asp?Library=ocsd^EDMS&amp;amp;ID&lt;/A&gt;=&lt;/P&gt;&lt;P&gt;And to automatically add in the 9 digit DOCID number towards&lt;BR /&gt;the end of the hyperlink as the DOCID field gets updated/populated with the ID&lt;BR /&gt;number? So if I’m entering let’s say &lt;STRONG&gt;003894611&lt;/STRONG&gt; to the DOCID field, I would like&lt;BR /&gt;the DOC LINK field to automatically update with the hyperlink and the DOCID so&lt;BR /&gt;that it will look like this: &lt;A href="http://websv01/idmws/ISAPILogon.asp?Library=ocsd%5eEDMS&amp;amp;ID=003894611"&gt;http://websv01/idmws/ISAPILogon.asp?Library=ocsd^EDMS&amp;amp;ID=003894611&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Attribute Table Example.jpg" class="jive-image image-1" src="/legacyfs/online/65854_Attribute Table Example.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marcos Mendez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305098#M23695</guid>
      <dc:creator>MarcosMendez</dc:creator>
      <dc:date>2015-02-26T17:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python question to automate attribute information</title>
      <link>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305099#M23696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you mostly stuck on how to automate this by row (could use the Field Calculator or python update cursor or python to call Calculate Field) or through multiple feature classes (same as repeating by row, but also using python to loop through feature classes)? Or are you asking how to automatically calculate the field by editing a different field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305099#M23696</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-26T17:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python question to automate attribute information</title>
      <link>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305100#M23697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to do this is using the Attribute Assistant.&amp;nbsp; Take a look at the following thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/122338"&gt;Automatically update a field in an edit session&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:40:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-question-to-automate-attribute-information/m-p/305100#M23697</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-02-26T17:40:00Z</dc:date>
    </item>
  </channel>
</rss>

