<?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: Transferring values of a field from a table to another based on common key applying a trigger, in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290725#M11228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam and Ahmad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to apply this WITHOUT having “move edits to base” option checked. The target feature class is the one housed in the parent version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my workflow, I need the values that are stored on the table to be transferred to the attribute table of the layer. So, the update starts on the table and then the layer is updated accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/321221_Clip_415.jpg" style="width: 620px; height: 559px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2017 21:52:42 GMT</pubDate>
    <dc:creator>JamalNUMAN</dc:creator>
    <dc:date>2017-02-13T21:52:42Z</dc:date>
    <item>
      <title>Transferring values of a field from a table to another based on common key applying a trigger,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290722#M11225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transferring values of a field from a table to another based on common key applying a trigger,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the screenshot below, I wanted to transfer the values of “enabled” field from T1 table (stored in h.mdf file) to “L1” Layer (stored in m.mdf file) based on the common filed “Ref_S” field. The idea behind is to write the values of T1 into L1 and thus the relation is supposed to be dynamic such that the changes in T1 will be transferred in the real time to L1 so that the values can be represented in terms of map. However, in this case, I’m not sure if the trigger will be directed to the L1 that is under “Table” folder or the one that is under “View”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate if anyone can help me out in writing the trigger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="320318" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/320318_Clip_407.jpg" style="width: 620px; height: 389px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="320319" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/320319_Clip_408.jpg" style="width: 620px; height: 573px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="320320" alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/320320_Clip_409.jpg" style="width: 620px; height: 573px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2017 19:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290722#M11225</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2017-02-12T19:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring values of a field from a table to another based on common key applying a trigger,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290723#M11226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - Jamal, Could you expand a little bit on your feature classes? Are T1 and L1 both versioned feature classes? What type of versioning is being used? The evw views are system geneterated views that compile the base table with the delta tables based on a specific version. Default version is used by default, but using SQL other versions can be accessed. The purpose behind the evws is to be able to read or edit a FC using SQL, not ArcMap. So, there are a few variables to consider when you are trying to edit (or enable a trigger against) an evw. You need to know what version is being editied and the versioning methodology used (standard, move-to-base).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/what-is-a-versioned-view.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/what-is-a-versioned-view.htm"&gt;What is a versioned view?—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Adam Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 15:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290723#M11226</guid>
      <dc:creator>AdamZiegler1</dc:creator>
      <dc:date>2017-02-13T15:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring values of a field from a table to another based on common key applying a trigger,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290724#M11227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamal,&lt;/P&gt;&lt;P&gt;Please give this a try, it worked with me without any issues. In my case I have the following:&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-indent: -.25in;"&gt;a F.C with a name “P” and the foreign key (ID) field name is “keyf”&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;Table contains ID field with name “ID”&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;1-first when register the F.C please check “register the selected objects with option to move the edits to base”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/321168_Screenshot (11).png" style="width: 620px; height: 268px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/321169_Screenshot (9).png" style="width: 620px; height: 469px;" /&gt;&lt;/P&gt;&lt;P&gt;2 -go to SQL and write this trigger&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;trigger&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; JamalT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; p&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;after&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: fuchsia; background: white;"&gt;update&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;insert&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;begin&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;select&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;*&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; p&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;select&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;*&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; Stat&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: fuchsia; background: white;"&gt;UPDATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; p&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;SET&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;enabled&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;Stat&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;Status&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp; P &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;INNER&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; Stat&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; p&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;keyf &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; Stat&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: gray; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;ID&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;End&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="/legacyfs/online/321173_Screenshot (10).png" style="width: 620px; height: 605px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;3- Start edit session in Arcmap and Add a point for example, then stop editing, you will notice that the “Enabled” field will automatically updated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 20:38:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290724#M11227</guid>
      <dc:creator>AhmadSALEH1</dc:creator>
      <dc:date>2017-02-13T20:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring values of a field from a table to another based on common key applying a trigger,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290725#M11228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam and Ahmad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to apply this WITHOUT having “move edits to base” option checked. The target feature class is the one housed in the parent version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my workflow, I need the values that are stored on the table to be transferred to the attribute table of the layer. So, the update starts on the table and then the layer is updated accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/321221_Clip_415.jpg" style="width: 620px; height: 559px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 21:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290725#M11228</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2017-02-13T21:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring values of a field from a table to another based on common key applying a trigger,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290726#M11229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have newly started the discussion here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/679453-re-writing-on-a-particular-field-of-a-table-layer-stored-in-sde-sql-database-from-other-source?commentID=679453&amp;amp;et=watches.email.thread#comment-679453"&gt;https://community.esri.com/message/679453-re-writing-on-a-particular-field-of-a-table-layer-stored-in-sde-sql-database-from-other-source?commentID=679453&amp;amp;et=watches.email.thread#comment-679453&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 07:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/transferring-values-of-a-field-from-a-table-to/m-p/290726#M11229</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2017-04-14T07:44:14Z</dc:date>
    </item>
  </channel>
</rss>

