|
POST
|
I have a requirement to generate map images with polygons symbolized on data from an external source. The source is a REST API. The REST API is fairly elaborate and changing it is not desired. I'd like to make a SOI which when requests are made against the MapServer will query the external API, get some more data, mash it together with the geodatabase data, then return the image. The image needs to be symbolized based on values from the external API. Does this sound reasonable through a SOI? I've seen an example which adds new fields from an external database which looks close to what I want to do. https://youtu.be/gYmFarHEMgw?t=2639 In order to follow this example, but also symbolize, would I need to symbolize on an existing field in ArcMap and change the values of the field used for symbology with the SOI rather than add a new field? Do I need to use an SOE instead of SOI if I'm interested in adding parameters to the request? As in I want to get the image, but with parameter A make call A to the API turning all the polygons red, with parameter B call B and turn all the polygons blue. Some other options have been considered and rejected. Pulling the data from a feature service and the REST API and combining the data client side is not desired. Thanks!
... View more
08-30-2018
12:14 PM
|
0
|
3
|
2020
|
|
POST
|
What I've done so far is to create an attribute inspector, let it display the attributes of the first feature. Next I have used dojo to manipulate the attribute inspector dom adding in more controls containing the data I would like to display. My next challenge is I'd like to find the code that creates the various dijits for the field controls to save myself a few lines of code creating domain drop downs keeping it nice and tidy. Any suggestions on samples that use those? I may also flip my logic. I may use the attribute inspector to display the related records so that it handles all of the domain logic and then use my code to add the parent attributes to the attribute inspector since they're going to be read only anyway. I'll keep the graphic for the location on the screen to position the infowindow.
... View more
10-02-2017
06:04 AM
|
1
|
0
|
1050
|
|
POST
|
I'm building an Attribute Inspector for an application. The application allows the user to click on a feature (displayed from a feature layer) and edit the attributes of that feature. I'd like to add some additional inputs to the Attribute inspector which will not be populated by fields of that feature. Is there a tidy way to do this using api methods or is it going to be done with lower level dojo and html manipulation? What I'm imagining is something like this sample Query and edit related records | ArcGIS API for JavaScript 3.21 except that I'd prefer not to build the whole content. I'd like the content to be built from the layerInfo like this example Using the attribute inspector | ArcGIS API for JavaScript 3.21 and then modify it. If I have to build the additional controls up from dojo objects that's ok. Ultimately what I'm attempting is to click a feature, show it's fields, get data from another feature, show some of it's fields and allow them to be edited (ideally with all the validation and domains associated with that field) while it looks like one feature to the user. For external reasons the attributes can't be on the same feature class / table and there is no relationship class between the two feature layers. Thanks
... View more
09-26-2017
11:00 AM
|
0
|
2
|
1340
|
|
POST
|
I haven't looked at this in a while, but I'm still interested. Is it simply not possible using what has been exposed with ArcObjects?
... View more
09-26-2017
10:49 AM
|
0
|
0
|
594
|
|
POST
|
Are there any samples out there for creating a custom address locator? I'd like to build something that wraps in a web service, does some point in polygon searching to populate some fields, etc. Ideally it'd be something in dot net, but I'd take anything if its out there. Thanks
... View more
05-31-2017
07:42 AM
|
1
|
2
|
906
|
|
POST
|
Look around line 1340 in the widget.js for the attribute table widget. if (has("ie") || this._isIE11()) { // has module unable identify ie11 /* var oWin = window.top.open("about:blank", "_blank"); oWin.document.write('sep=,\r\n'+ text); oWin.document.close(); oWin.document.execCommand('SaveAs', true, filename+'.xls'); oWin.close();*/ blobObject = new Blob([text]); window.navigator.msSaveOrOpenBlob(blobObject, filename); } else {
... View more
10-25-2016
10:00 AM
|
0
|
0
|
2049
|
|
POST
|
This is a repeat question, but it appears to me the old answer isn't valid anymore. Logged into the developers download page, using the cloud button, and I can see downloads for many things including the previous versions of the JavaScript API. I no longer see the web app builder. I'm looking for a copy of version 1.2 to narrow down a potential issue. I've also checked https://developers.arcgis.com/web-appbuilder/ which has a download of the latest version (2.1), no older versions. Are they still somewhere that I'm not checking? Thanks.
... View more
10-05-2016
07:52 AM
|
2
|
6
|
3279
|
|
POST
|
That does help. Without knowing when it would arrive (or if for ArcGIS Mobile) we'd pressed on and had something working with the hope an out of the box supported solution would eventually arrive. I see some answers to questions about multi level relationships are already in the comments too. Excellent, Thanks for the heads up!
... View more
09-20-2016
10:40 AM
|
0
|
0
|
625
|
|
POST
|
With some more experimenting I've realized that popups are already enabled by default for map service layers IF you've configured a popup for that layer. I'd like to get the same behavior without having to put every field into the config file. Ideally I'd like to put a single item (like popup: default or popup: true) and get the full default popup. Then I can configure the ones I want in there by exception rather than all of them.
... View more
08-17-2016
09:45 AM
|
0
|
4
|
1824
|
|
POST
|
I'm attempting to enable popups on layers in an ArcGISDynamicMapServiceLayer programmatically. Ultimately I'd like to move this code into the LocalLayer widget. I've gotten something working for feature layers, but I'm struggling a bit on layers within MapServices. I'm digging into LayerInfoForDefaultService.js now and am trying to figure out the path. It looks like you can't call enablepopup() on those layers until they have infotemplates loaded. I'm going to try including an infotemplate in the locallayer configuration. I'm hunting through the code that is called when I hit the dropdown for the layer for the first time (it appears to populate the info template at that time if it's blank). Does anyone have any sample code or suggestions / experience with attempting to do this same thing? Even if you've attempted and gotten stumped it could be helpful. Thanks
... View more
08-17-2016
07:10 AM
|
0
|
7
|
4224
|
|
POST
|
Has anyone attempted to have live display of line segment and total lengths while editing? I want users to be able to create a feature of very close to a specific size by seeing the measurement while drawing. There have been enhanced widgets in the past with this function displayed live on the line, this example https://community.esri.com/thread/158226 does measurements and displays it in the widget. I'm mostly trying to figure out where best to sum up the measurements and can worry about where to display it second. I'm trying to build it into the javascript viewer. Thanks!
... View more
06-27-2016
09:29 AM
|
0
|
0
|
751
|
|
POST
|
I believe I've gotten it with css changes within the style.css of the GP widget. I've added a max-height and overflow options for x and y instead of the regular overflow option. .jimu-widget-geoprocessing .input-node, .jimu-widget-geoprocessing .output-node{ max-height: 300px; overflow-y: auto; overflow-x:visible; margin-top: 20px; } Doing this I ended up with a horizontal scrollbar on pulldown parameters, so I've cheated and changed that to 99% width. .jimu-widget-geoprocessing .input-node>.editor-container, .jimu-widget-geoprocessing .output-node>.renderer-container{ margin-top: 5px; width: 99%; } Finally made the checkboxes be full width. They're not in the right spot yet and shouldn't be in style.css. .jimu-checkbox{ width: 100%; }
... View more
06-22-2016
07:12 AM
|
1
|
0
|
683
|
|
POST
|
I'm working on a GP widget which I'd hoped would be out of the box. One of the input parameters is a list of layer names which the user picks multiple options. Out of the box the WAB has an input method in simpleeditor.js that makes a bunch of checkboxes. The checkboxes aren't necessarily a problem, but they're not very organized. In desktop they're in a box with a scroll bar with one checkbox per line. That isn't the case in the WAB. I'm looking for someone who has found a good way to tidy this up or a suggestion that leads me to a good way to deal with it.. Thanks!
... View more
06-21-2016
07:46 AM
|
0
|
1
|
1913
|
|
POST
|
I wasn't able to get a button that sat in the widget bar to do what you're describing. I wanted to open a help document from there rather than the links bar or the about page. I built a widget that on it's open event opened a new window with the url I wanted, then the widget panel closed itself. You can occasionally see it momentarily if you're watching for it, but it give the behaviour I was looking for. onOpen: function() { window.open(this.config.hyperlink); var theWidgetID = this.id; require(["jimu/PanelManager"], function(PanelManager) { console.log(theWidgetID); var pm = PanelManager.getInstance(); PanelManager.getInstance().closePanel(theWidgetID + "_panel"); }); }
... View more
06-17-2016
06:34 AM
|
0
|
0
|
2177
|
|
POST
|
I've been successfully using the Local Layer widget and it's been working great. Lots of layers and great functions, I've even been able to use some additional layer types with it. Is there any reason I shouldn't be using it? Is there any reasonable argument for keeping everything through a web map instead of adding the services / layers directly? I've had its use questioned and was looking for any discussion as to why one way or the other may be "better".
... View more
02-16-2016
01:04 PM
|
0
|
1
|
3362
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2019 09:22 AM | |
| 1 | 07-10-2015 01:01 PM | |
| 1 | 06-30-2015 11:18 AM | |
| 1 | 01-29-2019 01:43 PM | |
| 1 | 01-25-2019 10:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|