<?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: How to pass parameters to Editor tool in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307535#M28245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can modify the edit before it goes to the server using the onBeforeApplyEdits event. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#onBeforeApplyEdits" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#onBeforeApplyEdits&lt;/A&gt;&lt;SPAN&gt;. How are you determining the foreign key?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 18:30:40 GMT</pubDate>
    <dc:creator>MattLane</dc:creator>
    <dc:date>2013-05-03T18:30:40Z</dc:date>
    <item>
      <title>How to pass parameters to Editor tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307534#M28244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the editing widget to edit a feature layer in a feature service that has related tables with a Primary key to Foreign key relation.&amp;nbsp; The problem I am having is the once I try to place a point on the map using the editing tool, I get an error stating that it violates the FK-PK policy.&amp;nbsp; This is because I am not supplying the new point with a Foreign key value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I am wondering if there is a way to pass in or supply the editor tool a parameter when I add the new point to the map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charlie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 13:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307534#M28244</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2013-05-03T13:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters to Editor tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307535#M28245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can modify the edit before it goes to the server using the onBeforeApplyEdits event. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#onBeforeApplyEdits" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#onBeforeApplyEdits&lt;/A&gt;&lt;SPAN&gt;. How are you determining the foreign key?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 18:30:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307535#M28245</guid>
      <dc:creator>MattLane</dc:creator>
      <dc:date>2013-05-03T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters to Editor tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307536#M28246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information.&amp;nbsp; This sounds like it might be what I was looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the FK info from other code that wraps my JS map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charlie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 14:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-parameters-to-editor-tool/m-p/307536#M28246</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2013-05-06T14:00:59Z</dc:date>
    </item>
  </channel>
</rss>

