POST
|
The Shape.Length field (SHAPE.STLength() in my case) doesn't show up as an option in the Arcade expression builder. Is there a way to access length and area values without having to manually calculate them using the path coordinates?
... View more
12-19-2016
12:13 PM
|
0
|
1
|
1075
|
IDEA
|
I think it would be nice to be able to configure layers or layer groups in the Layer List to be initially expanded or collapsed.
... View more
06-18-2016
06:53 PM
|
0
|
0
|
283
|
POST
|
For me, the problem seemed to be related to certificates. The Web AppBuilder tries to access the sharing/generateToken end point of the portal over SSL which in my case was throwing an ERR_INSECURE_RESPONSE error in Chrome. I right-clicked the requests in the Network tab of the developer tools window to open in a new tab. I followed the links to proceed to the insecure content. I was then able to go back and login.
... View more
10-19-2015
02:49 PM
|
0
|
0
|
853
|
POST
|
I didn't make any changes to the code. I'm suggesting that the Dev team look into it. I had an issue here because I have a web map with a map service. I'm using the first layer within the map service for searching. What I understand to be occurring in the code block provided is: The 'feature.infoTemplate' value is set to the layer's infoTemplate property if it exists which it doesn't in my case because the layer is an ArcGISDynamicMapServiceLayer which has no infoTemplate property. The expression then evaluates the line that I highlighted which I believe was intended to determine if the activeGeocoder.subLayerId exists (i.e is not null or undefined). Because the subLayerId in my case is 0, both sides of the '||' in the expression are falsy so null is assigned to 'feature.infoTemplate'. In the following code block the 'feature.infoTemplate' is interpolated which is not what I want. My workaround was to make the search layer the second layer in the web map so that activeGeocoder.subLayerId is 1 and the expression evaluates properly.
... View more
04-07-2015
11:26 AM
|
0
|
0
|
241
|
POST
|
Hello WAB Dev Team, Just FYI, I think it may be necessary to modify this line in the showResults method of the Geocoder widget. A subLayerId of 0 is falsy so the feature.infoTemplate end up being null and it's infoTemplate is not recognized. As a workaround I had to change the index of the subLayer with the infoTemplate so that it's subLayerId would be 1.
... View more
04-03-2015
10:01 AM
|
0
|
2
|
2718
|
POST
|
There doesn't appear to be a drop down like in AGOL. Clicking on Show Related Tables opens all related tables in the Attribute Table widget. This is not ideal when multiple relationships exist.
... View more
03-09-2015
08:57 AM
|
2
|
1
|
1114
|
POST
|
FYI, in the Developer version of the WAB, I noticed that when exporting the Attribute Table to CSV in IE11, Excel didn't seem to be recognizing the comma delimiters and rows would show up in a single column. I tried a workaround found in this thread on stackoverflow: javascript - execCommand in internet explorer saves the csv file using USC-2 Little endian encoding, how to save it with… And made the following edit to the widgets/AttributeTable/Widget.js file: And the CSV now displays as expected in Excel (2010). Hope this helps. Update: This issue seems to not have been fixed in the 1.1 version. The workaround I used in the 1.1 version is this:
... View more
01-09-2015
12:01 PM
|
1
|
4
|
5204
|
POST
|
I was having the same problem. There seems to be a bug where empty base maps are added to the list in the config file. By removing the empty base map JSON objects in the config, the issue was resolved for me.
... View more
12-29-2014
09:25 AM
|
1
|
14
|
1967
|
POST
|
I spoke too soon. Commenting out this code: if (this._attributes) { _9.destroy(this._attributes); } Working in Chrome but not IE. It seems that when a custom field is added it's DOM is being wiped out during the _createTable method with this line: this.attributeTable.innerHTML = ""; Only the parentNode remains. To get around this I had to assign the layerInfo.customField to a function and make the following changes in the _createField method: if (c.customField) { if (typeof(c.customField)==='function') { f=c.customField(); h.place(f.domNode, h.create("div", null, b), "first"); } else { h.place(c.customField.domNode || c.customField, h.create("div", null, b), "first"), f = c.customField; } } This worked form me with some custom DateTextBoxes. For number formatting without commas, I made the following changes to the _createIntField method: return new s({ "class": "atiField", constraints: { places: 0 }, _formatter: function (value) { return value; }, invalidMessage: this.NLS_validationInt, trim: !0 }, h.create("div", null, c)) Hope this helps
... View more
05-23-2014
08:03 AM
|
0
|
0
|
569
|
POST
|
I'm attempting to use an offline locator however I'm not getting any results when I test it in a 10.2 Android application. I've followed the instructions to create a runtime geodatabase (incl. locator) and essentially copied the code for creating and running the locator int he application. All of the necessary files are present and the locator works in ArcGIS before it's packaged as runtime content. In configuring the locator I set the option to store relative paths. Is the reference table unnecessary in this scenario because the information is stored int he .locb file? Should I try copying the reference file geodatabase feature class to the device/emulator and edit the .loc.xml file to point to it? Thanks EDIT: Nevermind. I was able to resolve the issue by copying the file geodatabase to the device. The runtime geodatabase has the following file structure on the device: /runtime_gdb ......./data ......./locator ............./locator_dir .................../file_gdb ........................roads feature class ...................locator files I rebuilt the locator in the runtime geodatabase using the 'roads feature class' as a reference file using relative paths (before copying to the device).
... View more
02-05-2014
07:56 AM
|
0
|
3
|
3472
|
Title | Kudos | Posted |
---|---|---|
1 | 12-29-2014 09:25 AM | |
1 | 05-14-2015 03:30 PM | |
1 | 01-09-2015 12:01 PM | |
2 | 03-09-2015 08:57 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|