|
POST
|
the 'results' are from a geometryService.intersect so just geometries. The 'inPoints' are the original graphics which I use to marry the attributes back to the results
... View more
11-18-2015
03:34 PM
|
0
|
0
|
2883
|
|
POST
|
Graphic | API Reference | ArcGIS API for JavaScript var feature = new Graphic(results, symbol, inPoints.attributes);
feature.attr("new_att", "new_value"); I would like to add an attribute to the existing attributes. Is this not the intended syntax or use of the method?
... View more
11-18-2015
02:46 PM
|
0
|
6
|
7367
|
|
POST
|
Thanks Robert, I got it working with the domConstruct as you suggested, but I had to hardcode some items to display. var items = ['one', 'two', 'three', 'four'];
var listBox = domConstruct.create("select", null, this.queryList);
array.forEach(items, function (data) {
domConstruct.create("option", { innerHTML: data }, listBox);
}); It took a while to realize that showResults can't see this.anything Very confusing Can you explain why and what to do with the results? I've seen a few of your responses with that lang.hitch..... is this an example where I should use this? Thanks again,
... View more
10-30-2015
10:42 AM
|
0
|
1
|
1282
|
|
POST
|
Hello, I'm trying to build my first widget (while teaching myself JavaScript at the same time) and I'm using this JavaScript sample to perform a simple query Query data without a map | ArcGIS API for JavaScript I've got the query working alright, I put the code in the startup function. I can see the data is being returned by using alert(resultItems) but I can't wrap my head around how to get the results into a list in the side-panel. right now the panel only contains the mapIdNode example and I've hardcoded query.where so I'm just hoping to the results to display as a list or list box, combo box, anything Of course the sample is using one file and the widgets use multiple and this is where I don't know how to connect the two. one successful example will get me off to the races, I've self taught myself every other language ESRI has thrown at us (aml, avenue, python, xaml.....) Thanks, GISr turned developer
... View more
10-28-2015
03:58 PM
|
0
|
4
|
3539
|
|
POST
|
okay, thanks for the responses. I don't think the document is in error, just when I see a property being passed to a UI, I usually try changing the property to verify the source. I'm sure it will all come together as I work through some more examples. I will give the 'Feedback' link a try too
... View more
10-23-2015
08:27 AM
|
0
|
0
|
965
|
|
POST
|
I'm trying to learn JavaScript and I have a silly little question following this example Access a map—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers I find that the map ID does not come from the config.json, but rather from the init.js I've changed each one and the one in the init.js wins. like I said, silly little question, but when trying to learn a new language clarity in the examples and understanding what they do is very important. Thanks
... View more
10-22-2015
04:10 PM
|
0
|
3
|
3061
|
|
POST
|
Thanks for this, Can you show how you did it when clicking in the results window. Thanks
... View more
10-01-2015
11:05 AM
|
0
|
2
|
1275
|
|
POST
|
Hello, Can someone please help explain how I could enhance the Direction widget to implement the searchExtent property with the initial geocoding. I've downloaded the code, and I can see how I would add the property to the config_Directions.json, but I don't think this property is being utilized in the js code. I'm new to Web AppBuilder and JavaScript, but should be able to piece any suggestions together (GIS'r turned Silverlight programmer, now.....) Thanks, Dave
... View more
09-23-2015
09:25 AM
|
0
|
0
|
2641
|
|
POST
|
Hello, I'm coming from Silverlight land and am behind the learning curve again (rebuilding our current application). I've been using the Web AppBuilder and examining the downloaded code to add such customizations as above, but I'm getting quite lost. Could you let me know where to put the code above. I though maybe in the Direction's Widget.js around the SearchOptions, Line 192 but it is breaking the widget. Thanks for any help you can give. Dave
... View more
09-22-2015
03:28 PM
|
0
|
1
|
2090
|
|
POST
|
Thanks for the response and the link. I did try Explorer and it opened my link in Safari so that is good. We just got our users used to the ArcGIS app, I guess a little change won't kill them.......
... View more
08-13-2015
08:18 AM
|
0
|
0
|
990
|
|
POST
|
Hello, I have configured my popup to open a link to another site, but it opens the link in what I think is some internal browser within the ArcGIS app. is this possible? there are no settings to configure and there is only a button that says 'open in Safari'. What is this and how can I allow it allow webpage pop-ups. background: user clicks a parcel, I provide a link to our document management system, passing in the parcel's ID, viola a list of documents appear, but I can't open then unless I 'open in safari'. Not the end of the world but just curious. thanks, Dave
... View more
08-12-2015
02:44 PM
|
0
|
2
|
3430
|
|
POST
|
Hello, I just had to tackle this same issue. This solution will work with the blobs in the attachments table that is created from ArcCatalog, Manage, Create Attachments. I noticed in ArcOnline when you hover over the Open Attachment button you can see the simple URL it is calling. it is the MapService original URL with {objectID}/attachment/{attachmentID} tacked on the end In summary this code will QueryRelatedRecord when the mouse enters the Graphic, and builds a small Pictures class. It then populates the MapTip UI with a HyperlinkButton with the Content being an Image and the Image Source being the extended URL I've also used similar code to work with the Identify tool and added an Attachments section. Hope this helps someone out there... Dave
... View more
06-18-2015
02:00 PM
|
0
|
0
|
1103
|
|
POST
|
Thanks, Here is the query I wrote to list Feature Classes and their associated Datasets. select items_a.Name as FeatureClass, items_b.Name as DataSet from sde.GDB_ITEMS items_a join sde.GDB_ITEMRELATIONSHIPS rels on rels.DestID = items_a.UUID join sde.GDB_ITEMS items_b on items_b.UUID = rels.OriginID join sde.GDB_ITEMTYPES types_a on types_a.UUID = items_a.Type join sde.GDB_ITEMTYPES types_b on types_b.UUID = items_b.Type where types_a.Name = 'Feature Class' and types_b.Name = 'Feature Dataset' order by DataSet, FeatureClass now I have to combine it with the query at the top to just list the data that is causing locks.
... View more
04-10-2015
03:18 PM
|
0
|
0
|
2131
|
|
POST
|
Hello, I'm trying to track down a table that stores the Dataset info. following this post, How to determine current edit session locking a version? , I'm trying something similar, but want to trace the tables back to their Dataset. How can I add to this query to do that? I can't seem to find Dataset info anywhere in the sql tables. SELECT v.name as version_name, pri.owner as data_owner, tr.table_name, tl.* FROM sde.sde_versions v JOIN sde.SDE_state_locks sl ON sl.state_id = v.state_id JOIN sde.SDE_process_information pri ON pri.sde_id = sl.sde_id JOIN sde.sde_table_locks tl ON tl.sde_id = pri.sde_id JOIN sde.sde_table_registry tr ON tr.registration_id = tl.registration_id order by lock_time desc Thanks, Dave
... View more
04-10-2015
11:12 AM
|
0
|
3
|
4504
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-02-2016 03:08 PM | |
| 2 | 02-02-2016 02:25 PM | |
| 1 | 03-08-2017 09:24 AM | |
| 2 | 05-23-2018 11:24 AM | |
| 1 | 09-24-2020 05:58 PM |
| Online Status |
Offline
|
| Date Last Visited |
02-08-2023
06:01 PM
|