|
POST
|
Hello, I need some advice on building an app that references a map that belongs to a group that I am part of. I am a contractor that belongs to my company's organization account. A client has invited me to a group and shared a webmap with me that contains an editable layer. I am able to view this map and make edits via the AGOL web interface. When I create an app using the developer edition of Web App Builder and set the Portal URL to my organization's account (http://companyxyz.maps.arcgis.com/) I am able to add the shared map to the app and configure the Editor widget to reference the editable layer. When I open the deployed app I log in through http://companyxyz.maps.arcgis.com/ and can then successfully edit the layer. However, my client is not able to log in to http://companyxyz.maps.arcgis.com/ even though he authored and shared the web map with me. If I change the portal URL to http://clientabc.maps.arcgis.com then I am not able to log in and view the map. How can I create an app that we can both use to access our shared content? Is this possible? Thanks! Jill
... View more
03-31-2015
12:36 PM
|
0
|
3
|
4949
|
|
POST
|
Hi, Some time ago I migrated this sample to VB.Net and it has been working fairly well. The user now needs to convert the labels generated by this tool to feature linked annotation. The creation of the annotation goes smoothly but when the attributes are edited the annotation does not update. I have checked out the suggestions in this article and verified the editing behavior is set up correctly. If I look at the Expression details for the Annotation Class it appears that the expression and custom parser have been set correctly. Is it even possible to use a custom parser with feature linked annotation? Any thoughts on how to trouble shoot this? Currently using ArcMap 10.2 but the behavior is also seen in 10.1. Thank you! Jill
... View more
02-09-2015
08:25 PM
|
0
|
0
|
4166
|
|
POST
|
In case it can help somebody else I will answer my own question. To authorize the server extension go to the Server Authorization wizard located in Start > All Programs > ArcGIS > ArcGIS for Server 10.2.2 > Software Authorization. Select the option that says you want to only authorize extensions and continue to go through the authorization process. Once the extensions pop up, type in "Roads and Highways" in one of the blank fields, and then put in the authorization number beside it. The documentation isn't very clear on this but it worked for me!
... View more
09-20-2014
11:47 AM
|
1
|
0
|
1152
|
|
POST
|
Hello, I am attempting to install the Roads and Highways Server Extension for 10.2.2 and am not able to authorize it. The installer does it's thing and says that the extension was installed successfully. The documentation states: "Use the ArcGIS 10.2.1 for Server Software Authorization Wizard to add the Esri Roads and Highways for Server license feature to your site. The wizard starts after the ArcGIS 10.2.1 for Server installation completes" The wizard does not start. If I open the Software Authorization wizard myself and attempt to authorize an extension, Roads and Highways is not listed. When I publish a service the Linear Referencing capability is available. If I choose that capability and publish a service, LRSServer is listed in the REST directory but when I go to access it I get the error message: "Esri Roads and Highways server extension license is not available". Fair enough. What step am I missing?? Thank you! Jill
... View more
09-11-2014
12:20 PM
|
0
|
1
|
4036
|
|
POST
|
In case it helps anyone else, this turned out to be the result of a bug in the Identify Operation. Details and workaround here: http://forums.arcgis.com/threads/106418-ArcGIS-Server-10.22-Identify-Issue Jill
... View more
06-17-2014
07:23 PM
|
0
|
0
|
698
|
|
POST
|
Hi, Ever since upgrading ArcGIS Server to 10.2.2 I've been experiencing some strange behavior from the Zoom To function on the default InfoWindow. When I click Zoom To the map zooms out so far that I can no longer see any other layers or my basemap. All my services, serving a variety of data sources exhibit this behavior. The layers seem to work correctly in every other way. To rule out issues with my code, I open this sample in a sandbox and swap out a service on my 10.2.2 machine for the parcelsURL variable. I get the funky behavior. I then publish the same dataset on a 10.11 box and the sample works as expected. When zooming to the same feature, the map based on the 10.2.2 service is zoomed to XMin: -1100124434934.61 YMin: 33623503.45 XMax: -1099873496451.23 YMax: 173729518.82 while the map based on the 10.11 service is zoomed to XMin: -10371573.06 YMin: 4422116.48 XMax: -9391344.61 YMax: 4969405.60. Any ideas? Thank you! Jill
... View more
06-16-2014
06:44 PM
|
0
|
1
|
1056
|
|
POST
|
Thanks for the quick reply! Got it! Many thanks for the help! Jill
... View more
06-02-2014
12:53 PM
|
0
|
0
|
2121
|
|
POST
|
my recommendation would be to add the layer info to the attributes of the popup when you set it
var attrs = content;
//do some overrides
var contentreplacement = SearchParams.resultContentOverride(attrs.content, result.layers, f);
attrs.content = contentreplacement;
//add some links
attrs.links = links;
//override title
attrs.titleField = titleField;
//modify content only in result table
var fieldInfos = [];
array.forEach(fieldNames, function(name) {
fieldInfos.push({
fieldName: name, visible: true
});
});
// alert(fieldInfos);
var g = new esri.Graphic(f.geometry, sym, attrs);
g.setInfoTemplate(new esri.dijit.PopupTemplate({
title: title,
fieldInfos: fieldInfos
}));
Hi Jeff, I'm sorry, I don't really understand where this would go. I am setting the popup in the infoWindow's selection change event and just setting it's content to a dijit. I would like to add the layer info here but that's the crux of the issue, I can't get the layer info. What are the SearchParams and result.layers objects in the code above? Thanks for walking me through this, I really appreciate the help, Jill
... View more
06-02-2014
12:33 PM
|
0
|
0
|
2121
|
|
POST
|
have you tried console.dir(g) to output the complete feature? My guess is there is an attribute in there that will provide you with the layername Hi Jeff, Thanks for the suggestion! Here is the console output (I replaced some of the actual data with placeholders): {
[functions]: ,
__proto__: {
[functions]: ,
__proto__: { },
_graphicsLayer: null,
_shape: null,
_visible: true,
declaredClass: "esri.Graphic",
visible: true
},
_graphicsLayer: null,
_shape: null,
_visible: true,
attributes: {
[functions]: ,
__proto__: {
[functions]: ,
__proto__: null
},
datalink: "value",
dateposted: "2/22/2012",
Intersection: "y",
intid: "Value",
measure: "2.0869",
OBJECTID: "2",
other: "Null",
postedby: "kdl",
RID: "8",
Road: "Value",
road2: "Value",
SHAPE: "Point",
studydate: "2/9/2012"
},
declaredClass: "esri.Graphic",
geometry: { },
infoTemplate: {
[functions]: ,
-chains-: { },
__proto__: { },
_dateFormats: { },
_fieldLabels: { },
_fieldsMap: { },
chartTheme: null,
declaredClass: "esri.dijit.PopupTemplate",
info: {
[functions]: ,
__proto__: { },
description: "OBJECTID = 2<br/>SHAPE = Point<br/>Road = Value<br/>Intersection = y<br/>road2 = Value<br/>other = Null<br/>studydate = 2/9/2012<br/>datalink = Value<br/>dateposted = 2/22/2012<br/>postedby = kdl<br/>measure = 2.0869<br/>intid = Value<br/>RID = 8<br/>",
title: "KDOT Traffic Counts Intersections"
}
},
symbol: null,
visible: true
} I don't see a property that gets me the layer. There is the function, getTitle which returns the title of the infoWindow and is currently set to the layer name. That would technically work in this particular situation but doesn't seem like a robust solution since the title of the infoWindow could get changed elsewhere. Thanks again for the help, Jill
... View more
06-02-2014
09:09 AM
|
0
|
0
|
2121
|
|
POST
|
Hi, In my JS app I am overriding the default infoWindow and populating it with a custom dijit using the following code: on(this.map.infoWindow, 'SelectionChange', lang.hitch(this, function() { var g = this.map.infoWindow.getSelectedFeature(); if (g) { var options = { graphic: g }; var cit = new ClipboardInfoTemplate(options, domConstruct.create("div")); cit.startup(); this.map.infoWindow.setContent(cit.domNode); } })); This is working really well. My question is, how can I determine which dynamic map service layer the selected graphic belongs to? I'd like to make some customizations to the dijit based on the layer and display the layer name, just like in the default popup but I can't seem to hook into the layer. Seems like I'm overlooking something obvious. Thanks for the help! Jill
... View more
06-02-2014
08:20 AM
|
0
|
6
|
2669
|
|
POST
|
Jill, did you ever resolve this? I'm experiencing the same problem. Steve Hi Steve, Unfortunately, I didn't. Luckily for me, the layer that was giving me problems wasn't actually needed in the print out, so I would remove it from the map, export the map and then add it back in. Jill
... View more
04-04-2014
12:43 PM
|
0
|
0
|
1148
|
|
POST
|
Hi Jason, I don't know that I ever found a solution to this problem. I believe I went a different route and didn't use that tool. Sorry I couldn't be of more help, Jill
... View more
02-20-2013
07:42 AM
|
0
|
0
|
1768
|
|
POST
|
Hi, Has there been a definitive listing of the limitations of Export Web Map yet? Specifically, I'm having trouble exporting a map that contains a graphics layer symbolized using a unique value renderer. I'm getting a similar error: Error executing tool.: Layer "graphicsLayer2": Field 'pointType' not part of schema for this feature collection. Where the field 'pointType' contains the value to be rendered on. Thanks! Jill
... View more
02-13-2013
08:33 AM
|
0
|
0
|
2711
|
|
POST
|
Hi, I haven't seen a satisfactory answer to this issue but maybe somebody has some fresh ideas. I have some secured services hosted in Server 10.1 that use long term tokens. In order to facilitate printing I published a custom Export Web Map tool according to these instructions - Printing maps that contain secured services . I can successfully use this custom service to print map containing all unsecured layers but as soon as I add a layer from the secured service I get: {"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool."]}}. If I paste all of the same parameters into the REST Service Directory interface I receive the same error, so I don't think it's a problem with the proxy page. Here is the content of the Web_Map_as_JSON parameter: {"mapOptions":{"showAttribution":true,"extent":{"xmin":-13074789.94993775,"ymin":4015647.8563408996,"xmax":-13073490.52045701,"ymax":4016726.33503677,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":102100}},"operationalLayers":[{"id":"layer0","title":"layer0","opacity":1,"minScale":591657527.591555,"maxScale":1128.497176,"url":"http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"},{"id":"layer2","title":"layer2","opacity":1,"minScale":0,"maxScale":0,"url":"http://ec2-54-243-148-157.compute-1.amazonaws.com/be/rest/services/v2/BERides/MapServer?token=MY_TOKEN_GOES_HERE","visibleLayers":null,"layers":[]},{"id":"layer1","title":"layer1","opacity":1,"minScale":591657527.591555,"maxScale":1128.497176,"url":"http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer"}],"exportOptions":{"outputSize":[800,1100],"dpi":96}} I'm using the same token to add the layers to the map and am having no display problems. Not sure what to troubleshoot next. Any ideas? Thanks!
... View more
02-12-2013
12:18 PM
|
0
|
4
|
3665
|
|
POST
|
Hello, I have a Silverlight 4 app that has been up and running for some time now but in the last few weeks I've gotten complaints that the Bing geocoder is not returning any records, more often than not. I can request the same address over and over again and sometimes it will return the correct number of records and sometimes none at all. Sometimes it will take up to 10 attempts before a record is returned. Sometimes it will return the correct number of records a couple of times in a row. I don't see any pattern to the behaviour. I've tried different addresses, zip codes and placenames but that doesn't seem to have an impact. I never receive an error message and it always indicates that the credentials where valid. The result is just empty. I stripped the Silverlight code down to the bare minimum and here it is, even though I don't believe it's the issue: Private Sub GeocodeButton_Click(sender As System.Object, e As System.Windows.RoutedEventArgs)
Dim bingGeocoder = New Geocoder("MY_BING_TOKEN")
bingGeocoder.MinimumConfidence = GeocodeService.Confidence.Medium
bingGeocoder.ServerType = ServerType.Production
bingGeocoder.Geocode(AddressBox.Text, AddressOf Geocode_Complete, AddressBox.Text)
End Sub
Private Sub Geocode_Complete(ByVal sender As Object, ByVal args As GeocodeCompletedEventArgs)
If args.Error IsNot Nothing Then
ResultsBlock.Text = args.Error.Message
Else
ResultsBlock.Text = args.Result.Results.Count.ToString
End If
End Sub I cannot replicate this problem on my development machine however my client is a large state agency and when I move the application onto a machine on their network I can replicate the behaviour. This leads me to believe that it has something to do with security on their network. I'm attaching the request and response for a successful and a failed call. The requests both look the same to me and the responses do too, except that one has an empty Results tag. Thank you very much.
... View more
01-18-2013
03:03 PM
|
0
|
0
|
847
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2018 10:05 AM | |
| 1 | 04-21-2023 11:03 AM | |
| 1 | 08-22-2024 12:12 PM | |
| 1 | 06-17-2022 08:38 AM | |
| 2 | 05-23-2023 07:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|