|
POST
|
Why is this items being discontinued? Will a replacement be offered?
... View more
12-03-2015
10:13 AM
|
0
|
1
|
2722
|
|
POST
|
Has anyone else experienced issues updating data using the Javascript API when it participates in a geometric network? I know all data must use the same spatial reference, and mine does. I am able to update using a Flex Viewer app. I am also able to update the underlying data if I delete the geometric network
... View more
03-19-2015
12:01 PM
|
0
|
0
|
2605
|
|
POST
|
No answer. Sorry. I ended up ditching it in favor of using dGrid.
... View more
03-19-2015
11:12 AM
|
0
|
1
|
1734
|
|
POST
|
Ken Buja replied and I accidentally deleted. Sorry. The reply was: Did you include "dojo/on" in the require and "on" in the list of function variables? When using "appTable.on(", you don't need to do that, since it's built into the class, but you do need that when using "on(appTable...)". Thank you Ken. That was responsible. Rookie error on my part ...
... View more
03-11-2015
06:05 AM
|
0
|
1
|
2027
|
|
POST
|
So, has anyone been able to select a row in the FeatureTable based on the OBJECTID of a feature that is selected in the map? More generally, can anyone expound on the relationship between dGrid and FeatureTable. The latter appears to be an implementation of the former but does not seem to carry with it all of the methods, events and properties of dGrid.
... View more
03-10-2015
06:59 AM
|
0
|
0
|
2027
|
|
POST
|
Thanks much. Interesting. The form on(appTable, "dgrid-select", function(evt){ }); is in the example and works for you but does not work for me. I had to use the following: appTable.on("dgrid-select", function(evt){ });
... View more
03-10-2015
06:43 AM
|
0
|
3
|
2027
|
|
POST
|
Thanks, that satisfies a portion of the need. Do you know how one would select a table row using the OBJECTID. Also, do you know how to refresh the featuretable after a new feature is added or an existing one is updated?
... View more
03-09-2015
08:13 AM
|
0
|
5
|
2027
|
|
POST
|
Has anyone implemented the javascript FeatureTable digit such that selections between it and the underlying featurelayer are synchronized?
... View more
03-06-2015
10:52 AM
|
0
|
7
|
6021
|
|
POST
|
How would one refresh a Javascript FeatureTable digit after adding or updating a feature in the underlying FeatureTable?
... View more
03-06-2015
10:27 AM
|
0
|
6
|
6571
|
|
POST
|
This was the approach that I ended up adopting. Create customfield attached to editor widget that calls a function with field on focus which in turn displays a data entry form. Attributes are attached to the feature from the form. 1. Require esri/dijit/editing/Editor dijit/form/Button dijit/form/Textarea dojox/form/CheckedMultiSelect 2. Created a new Textarea digit that calls a function focus that displays a form.. var notesDijit = new Textarea({ onFocus: showNotesDialog, required: false }); 3. Create a new editor and specify the use of the digit as a custom field within the fieldinfos declaration: var settings = { map: map, layerInfos: [{ "featureLayer": treeInventoryLayer, 'isEditable': true, 'showDeleteButton': true, 'showAttachements': true, 'fieldInfos': [ { 'fieldName': 'TREETAG', 'isEditable': true, 'label': 'Tree Tag:' }, { 'fieldName': 'NOTES', 'isEditable': true, 'label': 'Notes:', 'customField': notesDijit } ] }] } var params = { settings: settings }; var editorWidget = new Editor(params); editorWidget.startup() 4, Create function to open notes form function showNotesDialog() { openNoteSelector.show(); openNoteSelector._setStyleAttr("top: 50px;"); addnotes.set("value", updateFeature.attributes.NOTES3); picknotes.set('value', []); picknotes._updateSelection(); } 5. Add notes form to HTML <form style="top:10px;" id="notesForm"> <div data-dojo-type="dijit/Dialog" data-dojo-id="openNoteSelector" title="Tree Notes"> <label for="addnotes">Edit Existing Notes: </label><br /> <input data-dojo-type="dijit/form/Textarea" type="text" name="addnotes" value="" data-dojo-id="addnotes" style="width:98%; height:100px;"><br /><br /> <label for="addnotes">Select Standard Notes to Append: </label><br /> <select multiple="true" name="picknotes" data-dojo-type="dojox/form/CheckedMultiSelect" data-dojo-id="picknotes"> <option value="Upper branch dieback">Upper branch dieback</option> <option value="Remove dead branches">Remove dead branches</option> <option value="End weight reduction pruning">End weight reduction pruning</option> <option value="Manage epicormic growth">Manage epicormic growth</option> </select><br /><br /> <button data-dojo-type="dijit.form.Button" type="submit" id="btnOK" onClick="return openNoteSelector.isValid();">OK</button> <button data-dojo-type="dijit.form.Button" id="btnCancel" onClick="openNoteSelector.hide()">Cancel</button> <button data-dojo-type="dijit.form.Button" id="btnClearNotes"">Clear</button> </div> </form>
... View more
02-03-2015
04:48 AM
|
0
|
0
|
2261
|
|
POST
|
Thank you for the very useful input. I used the onAttributeChange event in combination with known field names in order to isolate specific changes.I am sure that I will use both of your suggestions. dojo.connect(theAttributeInspector, "onAttributeChange", function (feature, fieldName, newFieldValue) { if ((fieldName == "SPECIESFAILPOTENTIAL")) { Execute desired code .... } });
... View more
02-03-2015
04:31 AM
|
0
|
0
|
1163
|
|
POST
|
Thanks for the response Jake. I apologize for not being clear. I am wanting to go beyond the use of the standard domain implementation which is a combo box populated with domain values. Instead I want to replace the combobox with something like a DOJO checkedmultiselect. I want the user to be able to check as many of the items as they wish and write concatenated values to the associated textbox. I am thinking this would require a customfield in the attribute inspector and knowledge of how to reference attribute inspector fields and field events, none of which I am familiar with My current approach is to add a button that raises a DOJO modal dialog which performs these tasks. However, modifying the attributeinspector would be a more elegant option. Just fishing for someone who may have done something like this.
... View more
01-23-2015
04:29 AM
|
0
|
1
|
2261
|
|
POST
|
Me too. It appears that the API assumed a field to be required if a coded domain is specified.
... View more
01-22-2015
10:58 AM
|
1
|
0
|
4666
|
|
POST
|
I would like the user to be able to click on a textbox in the attributeinspector to pop open a multi-select control (e.g., list or checkbox) the results of which will be written to and displayed in the textbox. Has anyone done something like this that they would be willing to share? Thanks.
... View more
01-22-2015
09:46 AM
|
0
|
4
|
9137
|
|
POST
|
Is there an event that I can use for when the user moves from one field to another in the attribute inspector? How would I reference a particular control in the attribute inspector?
... View more
01-22-2015
09:43 AM
|
0
|
3
|
4917
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-15-2023 12:27 PM | |
| 1 | 02-14-2023 11:18 AM | |
| 2 | 02-14-2023 11:24 AM | |
| 2 | 02-14-2023 11:23 AM | |
| 4 | 06-14-2022 07:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-25-2024
06:12 PM
|