<?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: Prevent attachment deleting in attachment editor. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460784#M42597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I mean AttributeInspector&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye andrej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2013 20:57:07 GMT</pubDate>
    <dc:creator>AndrejTrunkl1</dc:creator>
    <dc:date>2013-05-16T20:57:07Z</dc:date>
    <item>
      <title>Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460779#M42592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Becouse of a specific workflow we would like to prevent the user to delete current attachments of one selected feature in attachmnet editor. I have acchivet this with acessing to the dom and hiding the "X" elements. My problem is that I must use an timeout, since attachments are not visible till the widget is fully loaded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if someone has a suggestion on how to acess this elements earlyer or has a mor elegant solution. I would appriciate the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bye Andrej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 11:31:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460779#M42592</guid>
      <dc:creator>AndrejTrunkl1</dc:creator>
      <dc:date>2013-05-15T11:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460780#M42593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set the feature service editing capabilities as create only. Then, attachmentEditor would not allow to delete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this doesn't work for your case, you can try this code right after startup() function call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attachmentEditor._deleteBtnHtml = "";&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 16:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460780#M42593</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-15T16:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460781#M42594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the replay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I gues the problem with the first solution that it will not allow delete of features eather, so I will try the second one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will ost the results&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye Andrej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 20:40:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460781#M42594</guid>
      <dc:creator>AndrejTrunkl1</dc:creator>
      <dc:date>2013-05-15T20:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460782#M42595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to find the _deleteBtnHtml of the attachmentEditor but i can find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not using it as a stand alone module but together with attribute editor so attreditor is fiering the instatiation and the startup of the widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after this I am acessing the attachmenteditor with : dijit.getEnclosingWidget(dojo.query(".attachmentEditor div")[0])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;btw. I am using 3.2 javascript api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry for bother and thanks for the replay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye andrej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 08:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460782#M42595</guid>
      <dc:creator>AndrejTrunkl1</dc:creator>
      <dc:date>2013-05-16T08:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460783#M42596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you say attribute editor, do you mean Editor widget or AttributeInspector widget?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 18:11:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460783#M42596</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-16T18:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460784#M42597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I mean AttributeInspector&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye andrej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 20:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460784#M42597</guid>
      <dc:creator>AndrejTrunkl1</dc:creator>
      <dc:date>2013-05-16T20:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460785#M42598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get a reference to the attachmentEditor by:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attributeInspector._attachmentEditor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 00:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460785#M42598</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-17T00:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent attachment deleting in attachment editor.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460786#M42599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye Andrej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 11:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-attachment-deleting-in-attachment-editor/m-p/460786#M42599</guid>
      <dc:creator>AndrejTrunkl1</dc:creator>
      <dc:date>2013-05-20T11:42:51Z</dc:date>
    </item>
  </channel>
</rss>

