<?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: In attributeInspector/AttachmentEditor, can I change the dialog header? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671256#M62636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These lines using dojo/query did what I was looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var attachPrompt = query(".atiAttachmentEditor b");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attachPrompt[0].innerHTML = "Manage Image:";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 21:31:50 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2015-10-28T21:31:50Z</dc:date>
    <item>
      <title>In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671255#M62635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use the attributeInspector, in the section for attachments, can you change it to say something besides "Attachments"? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious if anyone has modified this to include a preview of the actual image.&amp;nbsp; I've added a div below it to show it, but ideally the image would be within the same attachmentEditor div, not tacked on below it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671255#M62635</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-21T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671256#M62636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These lines using dojo/query did what I was looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var attachPrompt = query(".atiAttachmentEditor b");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attachPrompt[0].innerHTML = "Manage Image:";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 21:31:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671256#M62636</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-28T21:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671257#M62637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the strings used by the widgets come from a series of files that contain the text translated into the languages supported by the API. As a developer you can modify these strings in your app. Here's a help doc that explains how to do this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/localization.html" title="https://developers.arcgis.com/javascript/jshelp/localization.html"&gt;Localization | Guide | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So once you've loaded the resource bundle into your app you could update the text for the attachment editor as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriBundle.widgets.attachmentEditor.NLS_attachments = "Manage Image"; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 22:08:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671257#M62637</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-28T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671258#M62638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It didn't occur to me that functionality that allowed for localization could easily be used to change the prompts to my preferences.&amp;nbsp; I'll give that a try, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the help it says:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;To view all the customizable widget strings view any of the samples in a browser with debugging tools open and type &lt;/SPAN&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; color: #000000; background: #fefefe;"&gt;console.dir(esri.bundle)&lt;/CODE&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt; in the console. Debugging tools are available as an integrated part of most modern browsers.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed this should be esriBundle, or something like it since that's more AMD style.&amp;nbsp; When I try this, I'm not sure what I'm looking for,&amp;nbsp; Is this just a matter of hunting around?&amp;nbsp; I guess I'll get the hang of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671258#M62638</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-29T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671259#M62639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here an example of how to search for them. Using the &lt;A href="https://developers.arcgis.com/javascript/jssamples/map_simple.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Create a map sample&lt;/A&gt;, add in the reference to the bundle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;nbsp; &amp;lt;head&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Simple Map&amp;lt;/title&amp;gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Fesri%2Fcss%2Fesri.css" target="_blank"&gt;http://js.arcgis.com/3.14/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html, body, #map {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; body {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: #FFF;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow: hidden;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-family: "Trebuchet MS";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2F" target="_blank"&gt;http://js.arcgis.com/3.14/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require(["esri/map", "dojo/i18n!esri/nls/jsapi", "dojo/domReady!"], function(Map, esriBundle) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new Map("map", {
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "topo",&amp;nbsp; //For full list of pre-defined basemaps, navigate to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcg.is%2F1JVo6Wd" target="_blank"&gt;http://arcg.is/1JVo6Wd&lt;/A&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [-122.45, 37.75], // longitude, latitude
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 13
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(esriBundle);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;nbsp; &amp;lt;/head&amp;gt;

&amp;nbsp; &amp;lt;body&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="map"&amp;gt;&amp;lt;/div&amp;gt;
&amp;nbsp; &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the console, you can browse through all the different objects in the bundle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bundle.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134031_bundle.png" style="width: 620px; height: 422px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the same thing by typing console.dir(esri.bundle) into the console or navigating further into the structure.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bundle1.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/134032_bundle1.png" style="width: 620px; height: 660px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:19:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671259#M62639</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-12T04:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671260#M62640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to change the attachment prompt.&amp;nbsp; Now I'd like to change the label on the Delete button to say Delete Record.&amp;nbsp; I think it's confusing that when you turn 'showDeleteButton' in the attributeInspector that it falls underneath the attachment section.&amp;nbsp; When I see this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="134085" alt="deleteButtonPosition.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134085_deleteButtonPosition.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it makes me think that it is just for deleting the attachment.&amp;nbsp; I know there's a red X next to the image name, but I'd rather it said "Delete Location" or "Delete Record", so it's clearer to the user that they're deleting the whole thing.&amp;nbsp; I don't see that the label for this is listed.&amp;nbsp; Maybe I'm not looking in the right place.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already added this, but it didn't change the label.&amp;nbsp; I'm not sure what it changed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; esriBundle.widgets.attributeInspector.NLS_deleteFeature = "Delete Location";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Looking at an example where edits are occurring in the infoWindow, it's more clear what Delete does. However, &lt;/SPAN&gt;I want my attributes in the sidebar.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 14:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671260#M62640</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-29T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671261#M62641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the delete button look at the strings for the Editor widget. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671261#M62641</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-29T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671262#M62642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this too - no luck:&lt;/P&gt;&lt;P&gt;esriBundle.widgets.editor.tools.NLS_deleteLbl = "Delete Location";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read another thread that mentioned some issue with the navigation buttons using AttributeInspector.&amp;nbsp; If I inspect the element that looks like a line right above the Delete button (see my screenshot above), it says its atiButtons, but it's all collapsed.&amp;nbsp; When I set showDeleteButton as true, that's when Delete gets added below these navigation tools.&amp;nbsp; I never see any navigation buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thread mentioned that the only way to activate these is if you're using the full Editor widget and use the Select from there.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 16:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671262#M62642</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-29T16:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671263#M62643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4289"&gt;Tracy Schloss&lt;/A&gt;​ which widgets are you using?&amp;nbsp; Could be in the attribute inspector if you are using that? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 16:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671263#M62643</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-30T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671264#M62644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using AttributeInspector, and since I have attachments enabled in my featureLayer, then AttachmentEditor is getting loaded as well.&amp;nbsp; It's not surprising that changing &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;esriBundle.widgets.editor.tools.NLS_deleteLbl doesn't do anything, since I don't even have the Edit widget loaded.&amp;nbsp; However, I can't see anything else that looks close.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't need TemplatePicker, since I'll only have one layer and it's only points, so I don't need much of what the Edit widget offers.&amp;nbsp; Just using AttributeInspector seems a better option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is myAttributeInspector.js file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define ([
"dojo/on",
"dojo/dom-construct",
"esri/dijit/AttributeInspector",
"dojo/i18n!esri/nls/jsapi",
"dijit/registry"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], function ( on,domConstruct,AttributeInspector,esriBundle,registry) { 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createAttributeInspector: function(map,featureLayer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var layerInfos = [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer: featureLayer,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showAttachments: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEditable: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showDeleteButton: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInfos: [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { fieldName: "Facility",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tooltip: "Name of the event",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "Name:",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEditable: true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldName: "Address",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tooltip: "Address of the event",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "Address:",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEditable: true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldName: "City",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tooltip: "City of the event",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "City:",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEditable: true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldName: "State",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "State:",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEditable: true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldName: "ZIP",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "ZIP:",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEditable: true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }]; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var attInspector = new AttributeInspector({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos: layerInfos
&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "attributesDiv");
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; console.dir(esriBundle);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; esriBundle.widgets.attachmentEditor.NLS_attachments = "Manage Image";
&amp;nbsp; esriBundle.widgets.attachmentEditor.NLS_add = "Upload Image"
&amp;nbsp; esriBundle.widgets.attributeInspector.NLS_deleteFeature = "Delete Location";
&amp;nbsp; esriBundle.widgets.editor.tools.NLS_deleteLbl = "Delete Location";

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; on(attInspector, "attribute-change", function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var feature = evt.feature;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.attributes[evt.fieldName] = evt.fieldValue;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.getLayer().applyEdits(null, [feature], null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.enableMapNavigation();
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; on(attInspector, "delete",function(evt){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var feature = evt.feature;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.getLayer().applyEdits(null,null,[feature]);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.enableMapNavigation();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.hide();
&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp;&amp;nbsp; 
&amp;nbsp; }
&amp;nbsp; }
}); &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671264#M62644</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-12T04:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671265#M62645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try updating the text for widgets.attributeInspector.NLS_deleteFeature? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671265#M62645</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-30T17:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671266#M62646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that's what I'm doing in the line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;esriBundle.widgets.attributeInspector.NLS_deleteFeature = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"Delete Location"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's always a possibility I have a typo!&amp;nbsp; But this didn't change it, the button still says Delete.&amp;nbsp; Since the entire atiButtons sections isn't displaying, I thought maybe the button this changes was within it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671266#M62646</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T17:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671267#M62647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a link to your app you can post? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671267#M62647</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-30T17:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671268#M62648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is public facing:&lt;/P&gt;&lt;P&gt;&lt;A href="http://ogitest.oa.mo.gov/DHSS/samples/dragGraphic/index.html" title="http://ogitest.oa.mo.gov/DHSS/samples/dragGraphic/index.html"&gt;Add Graphic by geocode&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671268#M62648</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T18:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671269#M62649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to set the new text before creating the attribute inspector. So you'll want to move these lines above your code to create the new attribute inspector in myAttributeInspector.js. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; esriBundle.widgets.attachmentEditor.NLS_attachments = "Manage Image"; &lt;/P&gt;&lt;P&gt;&amp;nbsp; esriBundle.widgets.attachmentEditor.NLS_add = "Upload Image"&lt;/P&gt;&lt;P&gt;&amp;nbsp; esriBundle.widgets.attributeInspector.NLS_deleteFeature = "Delete Location";&lt;/P&gt;&lt;P&gt;//&amp;nbsp; esriBundle.widgets.editor.tools.NLS_deleteLbl = "Delete Location";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671269#M62649</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-30T19:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: In attributeInspector/AttachmentEditor, can I change the dialog header?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671270#M62650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That fixed it.&amp;nbsp; It didn't occur to me to move these, since the other 2 worked where they were.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it true that the navigation buttons are only going to be available when using select from within the Editor widget? Would they turn on with multiple features selected?&amp;nbsp; It seems like it should show anyway, but with the tools that aren't relevant for next, previous etc grayed out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-attributeinspector-attachmenteditor-can-i/m-p/671270#M62650</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T19:31:49Z</dc:date>
    </item>
  </channel>
</rss>

