POST
|
Hi thanks for the reply! Originally i thought making the change below didnt work, but I cleared my browsers cache and refreshed the website in IIS and now it works. Un-commenting this line in evn.js did the trick! ////////uncomment the following line when downloading the app
apiUrl = '//js.arcgis.com/3.14';
... View more
09-02-2015
08:23 AM
|
1
|
1
|
2659
|
POST
|
Hi All, I have been successful at modifying apps and hosting them via I.I.S.. However the same apps I have had working before and still work through developer edition on my computer will no longer get past the loading screen when published via IIS on our server. If I go back to a new unmodified app I.I.S. can host it without problem. So, some edit along the way breaks the "hostability" of my app. With the exception of one by one adding widgets and and republishing through IIS to see which one breaks the app, is there a good way to determine the problem? Here is the chrome developer tools error result: Failed to load resource: the server responded with a status of 404 (Not Found) http://ncservgis-prod.XXX.local/http://ncservgis-prod.XXX.local//jsapi/jsapi/dijit/themes/claro/dojo.css same error for claro.css, esri.css, ResizeHandle.css, init.js and they all show up in the list twice... Thanks so much!
... View more
08-31-2015
03:01 PM
|
0
|
3
|
8280
|
POST
|
Hi Matt, I don't have a complete answer for you but here is one thing have noticed: - in order for the "show related records" hyperlink to show up in the popup you must configure the attribute table widget to show the attribute table for the feature class you wish to show related records from. I would also like to know how to turn an attribute in the attribute table into a hyperlink.... Don
... View more
08-25-2015
04:01 PM
|
0
|
1
|
356
|
POST
|
ha thanks, just made my next post right when you did! thank you for the reply!
... View more
08-19-2015
10:57 AM
|
0
|
0
|
2499
|
POST
|
within the widget panel of the Web app builder interface, click and drag on on top of the other.
... View more
08-19-2015
10:55 AM
|
2
|
0
|
2499
|
POST
|
Has anyone figured out how to create widget groups as mentioned here: Controller widget—Web AppBuilder for ArcGIS | ArcGIS i can not find to option to set a widget to "show in drop-down menu". The help file above makes it sound like a check box in the widget configuration accessible through the web app builder, without having to modify the code. Thanks! Don
... View more
08-19-2015
10:44 AM
|
0
|
10
|
6296
|
POST
|
I have successfully added a feature collection of image services to my WAB developer edition application by using the following :Re: Editing LayerList widget to include multiple Groups/Divs of layers now that I have added this group layer i would like to change the order in the layer list. I am attempting to use the this.map.reorderLayer() method in the startup function of Widget.js in server\apps\2\widgets\LayerList\Widget.js without any luck. I am guessing the problem is i do not know how to reference which layer i want to move! See line 28. What do i replace the first parameter with to reference my newly added layer? Thanks! don startup: function() {
this.inherited(arguments);
NlsStrings.value = this.nls;
// summary:
// this function will be called when widget is started.
// description:
// according to webmap or basemap to create LayerInfos instance
// and initialize operLayerInfos;
// show layers list;
// bind events for layerLis;
if (this.map.itemId) {
LayerInfos.getInstance(this.map, this.map.itemInfo)
.then(lang.hitch(this, function(operLayerInfos) {
this.operLayerInfos = operLayerInfos;
// don edit https://community.esri.com/message/537551#537551 code to group layers
var featureLayer1 = new esri.layers.ArcGISImageServiceLayer("http://ncservgis-prod.XXX.local:6080/arcgis/rest/services/Ortho2010/ImageServer");
featureLayer1.title = "2010 Orthophotos";
featureLayer1.visible = false;
var featureLayer8 = new esri.layers.ArcGISImageServiceLayer("http://ncservgis-prod.XXX.local:6080/arcgis/rest/services/Ortho1996/ImageServer");
featureLayer8.title = "1996 Orthophotos";
featureLayer8.visible = false;
var featureLayers = [featureLayer8, featureLayer7, featureLayer6, featureLayer5, featureLayer4, featureLayer3, featureLayer2, featureLayer1];
this.operLayerInfos.addFeatureCollection(featureLayers, "Orthophotos");
this.map.reorderLayer(Orthophotos,5);
//end of don edit
this.showLayers();
this.bindEvents();
... View more
08-17-2015
03:50 PM
|
0
|
0
|
2916
|
POST
|
Got it... for anyone searching here, if you want to group image services replace esri.layers.featureLayer with esri.layers.ArcGISImageServiceLayer
... View more
08-17-2015
12:51 PM
|
0
|
0
|
2520
|
POST
|
Also, is it possible to group imageservices together or to group tables together? Thanks! don
... View more
08-17-2015
11:48 AM
|
0
|
1
|
2520
|
POST
|
Hi this could be very helpful to me, thanks for posting the code! I noticed you have also commented out this.bindEvents(), is that important? Thanks don
... View more
08-17-2015
11:35 AM
|
0
|
0
|
2520
|
POST
|
Yeah changes to a my content instance of a service saves all the work of having to modify for every single map you create. As for managing multiples: we only have two configurations, two AGOL admins, and no other users have access to AGOL, we only hand pout links to the apps. but yeah unfortunately multiple configs might take some thought to arganize/track.
... View more
08-13-2015
09:13 AM
|
0
|
0
|
297
|
POST
|
and after the instance of the service is saved in the AGOL map, those changes persists to any other map you add it to, or allready have it in.
... View more
08-13-2015
07:54 AM
|
1
|
2
|
2559
|
POST
|
I would recommend leaving this question as unanswered as we still dont have a programmatic fix. Here is one thing to note in regards to you loosing configuration information: when you add a service to my content, and then add that service to any AGOL map, then edit any configuration about any of the layers within the service, you can save those changes to the "my content" instance of your service when you select save from the service's dropdown in AGOL map. ie, the popup configuration you setup for one or many layers in the service is saved within the my content item independent of whether or not you happen to save the AGOL map. You can also have multiple my content additions of the same service with different configurations and then make copy to backup of the configurations you like. Copying and saving service instances is done from the services drop down in AGOL map.
... View more
08-13-2015
07:52 AM
|
1
|
3
|
2559
|
POST
|
Hey Brandon, workflow below... i do not need to visit the number format section of the fields properties in arcmap, i do need to visit the configure attributes in arcgis online..... using the configure attributes dialog is successful for me with long type integers and double type. We are are publishing desktop 10.3.1 mxds containing spatial views and regular feature classes. These are published on arcgis server 10.3.1 and the services are added to arcgis online "my content". the services are then added to a map where we configure the attributes for decimal places and thousand separators. The field i was referring to was of type double which arcgis online by default checks the 1000 separator so i uncheck it, save the popup, save the map, craete a new application (developer or web app builder through arcgis online) and the thousand separator successfuly does not show up on someones street address. All that said i just performed a test on a regular feature class in our 10.3.1 sde where i displayed a popup for a long integer field, formatted it to exclude 100 separator, and it persists all the way to the application.... unfortunately i cant share the app as its internal. is your workflow much different?
... View more
08-12-2015
02:34 PM
|
1
|
5
|
2556
|
Title | Kudos | Posted |
---|---|---|
1 | 09-29-2015 08:46 AM | |
1 | 08-07-2015 02:24 PM | |
1 | 06-13-2016 03:54 PM | |
1 | 09-02-2015 09:01 AM | |
1 | 09-29-2015 03:14 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|