POST
|
I'm currently going through the documentation to create a new theme/new controller widget. When I get to step 4 to reload the app, I get a 404 error saying the manifest.json file for the widget does not exist, but it does exist. init.js:141 GET https://fm00016.ad.utah.edu:3344/webappbuilder/apps/3/themes/RachelSidebarTheme/widgets/SidebarController/manifest.json?wab_dv=2.8 404 (Not Found)
This is the widgets/SidebarController/manifest.json {
"name": "SidebarController",
"platform": "HTML",
"version": "2.8",
"wabVersion": "2.8",
"author": "Esri R&D Center Beijing",
"description": "This is the widget used in developer guide",
"copyright": "",
"license": "http://www.apache.org/licenses/LICENSE-2.0",
"properties": {
"inPanel": false,
"isController": true,
"isThemeWidget": true
},
"featureActions": [{
"name": "ShowVertex",
"uri": "ShowVertexFeatureAction"
}]
} Here is my config.json in the layouts folder: {
"widgetOnScreen": {
"panel": {
"uri": "themes/RachelSidebarTheme/panels/SimpleBorderPanel/Panel"
},
"widgets": [{
"uri": "themes/RachelSidebarTheme/widgets/SidebarController/Widget",
"position": {
"left": 0,
"top": 0,
"bottom": 0,
"width": 50,
"relativeTo": "browser"
}
},{
"uri": "widgets/Scalebar/Widget",
"position": {
"left": 7,
"bottom": 30
},
"version": "2.8"
}, {
"uri": "widgets/HomeButton/Widget",
"position": {
"left": 7,
"top": 75
},
"version": "2.8"
}, {
"uri": "widgets/Coordinate/Widget",
"position": {
"left": 7,
"bottom": 10
},
"version": "2.8"
}, {
"uri": "widgets/BasemapGallery/Widget",
"position": {
"left": 45,
"top": 5,
"width": 430,
"height": 410
},
"version": "2.8"
}, {
"position": {
"left": 95,
"top": 5,
"width": 400,
"height": 410
}
}, {
"uri": "widgets/ZoomSlider/Widget",
"visible": true,
"position": {
"top": 5,
"left": 7
},
"version": "2.8"
}]
},
"map": {
"position": {
"left": 0,
"top": 0,
"right": 0,
"bottom": 0
}
}
} and in the nls/string.js files in both the theme and the widgets folders I changed "_themeLabel": to "RachelSidebarTheme" Here's a scren shot of my folder structure. The theme was copied from Demo and the widgets/SidebarController was copied from the samplewidgets demo folder. Have I overlooked something?
... View more
06-28-2018
04:06 PM
|
0
|
2
|
1161
|
POST
|
Joe - Thanks for the response. I did try that I got the same result. I did try using the World GeoService Locator Yesterday for comparison and was able to locate my address points so I may have narrowed the issue down to the new roads FC. Although it appears to be all the same data, the road segmentation and therefore the address ranged my differ in some areas causing this issue. I'll be looking at that in more detail today.
... View more
04-12-2018
08:16 AM
|
0
|
0
|
1447
|
POST
|
Thanks for the reply Shana. Yes, my input table looks like the illustrations sent. I have included a screenshot below as well as the locator properties. Here is a screen shot of the properties Input Table: I know this shows both street_address as well as the parsed address in the table. When setting up the geocoding process I am sure to choose the street address field (see below). I'm using the same input table as last year. This year the road geometry and info are exactly the same but the schema Data Types have changed. I can use the road data set with the previous years schema and it works fine. The new schema is needed for a new 911 system being implemented. I can put together a FGDB and attach in a zip file if that would be helpful, or just let me know if I should start a ticket with ESRI? Thank you for your time.
... View more
04-11-2018
08:58 AM
|
0
|
2
|
4051
|
BLOG
|
GeoNet Admin - Thanks for this article. I know its a bit dated but the link on How To: Automatically generate new feature-linked annotation for a feature class originally created using a SQL query appears to lead to an empty article. As this info since changed? Is there an updated way to do this?
... View more
04-10-2018
10:34 AM
|
0
|
0
|
209
|
POST
|
Dan - I know this post is pretty old but I'm having the same issue - did you ever figure out a solution?
... View more
04-10-2018
07:58 AM
|
0
|
0
|
811
|
POST
|
Shana - I've had to create a new address locator since writing this original post and I'm still getting 100% failed results. I have read your technical article. I have set Match to No Zones to Yes, and I removed/readded to the locator from the toolbar. What can be causing this?
... View more
04-05-2018
10:29 AM
|
0
|
4
|
4051
|
POST
|
Hi Kelly - I've recently downloaded the GeoForm template from GitHub hoping that I would be able to edit this property on the locate on load widget, however, the Geoform download does not contain any widgets. IS this a property that can be customized within the template and I'm just over looking it?
... View more
01-11-2018
09:45 AM
|
0
|
0
|
496
|
POST
|
Thank you for the confirmation Ken. Adrian - I have edited my original post to include those specifics.
... View more
10-27-2017
07:30 AM
|
0
|
0
|
413
|
POST
|
I have an application that been built using JSAPI 4.5. All of the functionality works fine in Chrome on the desktop but popups are not responding to touch events on Android phones (Samsung Galaxy Note 5 & Samsung Galaxy 7) using google Chrome (v61.0.3163.98). They do work in Firefox (mobile) as well as on iPhones (4,5,& 6) (Safari). Other touch events to work (opening the panel menu, turning layers on/off etc). It just appears to be affecting popup responses. I'm assuming this is a bug? Here's a link to my application: Network Monitoring
... View more
10-26-2017
02:11 PM
|
0
|
3
|
558
|
POST
|
Thank Thomas - I haven't republished but I see the mistake in our database where the longitude is positive rather than negative.
... View more
10-03-2017
02:01 PM
|
0
|
0
|
852
|
POST
|
Thanks Thomas - I'm setting the opacity to clear on purpose (I did have it in color at forst so that I could verify that the points were present and the code was working). This layer is going to sit on top of a few graphics layers that are essentially subsets of this feature layer. Its representing various statuses of a location and a location can have more then one status. Rather then creating popups for each graphic which may result in redundant popups, I just created this feature layer to sit on top and make it the only clickable layer. As far a spatial reference - not sure if its relevant for you but my though was the basemap is 102100 and the FL is in UTM so I was thinking that maybe the error was resulting from having two different coordinate systems but that didn't seem to matter in this case. Even with spatial reference set to match the basemap the error still occurs.
... View more
10-03-2017
01:46 PM
|
0
|
2
|
852
|
POST
|
Thanks Thomas - that does result in the symbols drawing but I'm still getting an error in the console: I've read a few posts on stakoverflow but they don't seem to apply here. I added the spatialReference property and set it to Web Mercator and the points are being drawn from the services geometery type (some posts states that this error can occur when lat/long points are strings). This is what I currently have: 'allOffsiteLocations': new FeatureLayer({url: 'https://fmags.fm.utah.edu/arcgis/rest/services/mapservices/network_offsite_locations/MapServer/8',
'id': 'allOffsiteLocations',
'spatialReference': 102100,
'outFields': ['*'],
'maxScale': 18057,
'popupTemplate': app.popupTemplates.offsiteLocations,
'renderer': new SimpleRenderer ({
'symbol': new SimpleMarkerSymbol({
'size': 20,
'color': [255,255,255,0],
'outline':{
'color': [255,255,255,0]
}
})
})
}),
... View more
10-03-2017
01:11 PM
|
0
|
4
|
852
|
POST
|
I'm trying to set the renderer property on a feature layer. I've tried a few different ways, all resulting in some type of rendering error: app.layers = {
'allOffsiteLocations': new FeatureLayer({url: 'https://fmags.fm.utah.edu/arcgis/rest/services/mapservices/network_offsite_locations/MapServer/8',
'id': 'allOffsiteLocations',
'outFields': ['*'],
'maxScale': 18057,
'renderer': {
'type': 'simple',
'symbol':{
'type': 'simple-marker',
'size': 20,
'color': 'black'
}
}
}),
} ERROR I've also tried: 'allOffsiteLocations': new FeatureLayer({url: 'https://fmags.fm.utah.edu/arcgis/rest/services/mapservices/network_offsite_locations/MapServer/8',
'id': 'allOffsiteLocations',
'outFields': ['*'],
'maxScale': 18057,
'renderer': new SimpleRenderer ({
'symbol':{
'type': 'simple-marker',
'size': 20,
'color': 'black'
}
}),
}), Which resulted in: I do have SimpleRenderer listed in my require statement and both the require/functions appear to be in the same order: require(['esri/widgets/Home', 'ugis/widgets/Track', 'esri/widgets/Compass', 'esri/widgets/Search',
'esri/layers/TileLayer','esri/layers/FeatureLayer', 'esri/layers/GraphicsLayer', 'esri/Graphic',
'esri/symbols/SimpleMarkerSymbol','esri/symbols/SimpleFillSymbol', 'esri/symbols/SimpleLineSymbol',
'esri/symbols/PictureMarkerSymbol', 'esri/tasks/QueryTask','esri/tasks/support/RelationshipQuery',
'esri/geometry/Point','esri/geometry/Polygon','esri/tasks/support/Query','esri/geometry/SpatialReference',
'esri/renderers/SimpleRenderer','dojo/query', 'dojo/dom-class', 'dojo/touch', 'dojo/dom-attr'],
function (Home, Track, Compass, Search, TileLayer, FeatureLayer, GraphicsLayer, Graphic, SimpleMarkerSymbol,
SimpleFillSymbol, SimpleLineSymbol, PictureMarkerSymbol, QueryTask, RelationshipQuery, Point,
Polygon, Query, SpatialReference, SimpleRenderer, query, domClass, touch, dojoDomAttr)
... View more
10-03-2017
10:44 AM
|
0
|
6
|
1101
|
POST
|
Atma - I am having a similar problem when accessing the python window from ArcGIS Pro. I updated ArcGIS Pro today to version 2.0.1. I also tried to open python manually by going to \ArcGIS\Pro\bin\Python\envs\arcgispro-py3 and it crashed there as well. I get the following error: Any input would be appreciated.
... View more
09-15-2017
01:57 PM
|
0
|
1
|
699
|
POST
|
Sorry Joel - In my haste to find answers yesterday I somehow missed that this post was referencing Explorer and not ArcGIS Online. I will repost where appropriate.
... View more
09-14-2017
07:29 AM
|
0
|
0
|
589
|
Title | Kudos | Posted |
---|---|---|
1 | 02-12-2016 08:53 AM | |
1 | 02-05-2016 03:48 PM | |
1 | 10-21-2016 02:26 PM | |
1 | 01-20-2016 10:59 AM | |
2 | 08-31-2017 09:06 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|