|
POST
|
So, is refresh() an undocumented method of ArcGISDynamicMapServiceLayer? it certainly seems to do what it says?
... View more
01-17-2013
04:03 AM
|
0
|
0
|
1829
|
|
POST
|
Hi I've a site that I have finally got working to create features. These features need to have attribute values that have been passed to the page in a URL - it is the case number and type from our internal CRM system. I can't see an obvious way to get these assigned to new features. Any ideas? Cheers ACM Edit - easy peasy - onBeforeApplyEdit event of the featurelayer - see http://forums.arcgis.com/threads/45726-Editor-attribute-inspector-default-values?highlight=default+attribute Kelly if you want to post a reply to me to tell me to look at the above post then I can mark it as answered.
... View more
01-16-2013
02:41 AM
|
0
|
0
|
883
|
|
POST
|
Sorted - http://support.microsoft.com/kb/317955 - I needed to give (in my case the local IISUSER account, the rights specified here to my entire web folder. Odd that Chrome was ok and IE not. ACM
... View more
01-16-2013
12:42 AM
|
0
|
0
|
475
|
|
POST
|
Yes-or I thought I did - it is in IIS7 so a bit different. I tried to move my Chrom working/IE not working to my internet site - where of course it works!! I can't see any obvious difference in the setup of either the proxy.config or the IIS Application Anyway - supper time for me. Cheers ACM
... View more
01-15-2013
10:45 AM
|
0
|
0
|
475
|
|
POST
|
Thanks for that - we posted at the same time - however, my proxy.config now looks like this and IE still fails
<?xml version="1.0" encoding="utf-8" ?>
<!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
mustMatch: true to only proxy to sites listed, false to proxy to any site -->
<ProxyConfig mustMatch="false">
<serverUrls>
<!-- serverUrl options:
url = location of the ArcGIS Server, either specific URL or stem
matchAll = true to forward any request beginning with the url
token = (optional) token to include for secured service
dynamicToken = if true, gets token dynamically with username and
password stored in web.config file's appSettings section.
-->
<serverUrl url="http://eddc-gis2"
matchAll="true"
></serverUrl>
</serverUrls>
</ProxyConfig>
I'll see if I get get a page on the internet later. IE just does nothing. Cheers ACM
... View more
01-15-2013
08:05 AM
|
0
|
0
|
2290
|
|
POST
|
Sorry - misread your post - see the setting you mean now. I'll try that.
... View more
01-15-2013
07:58 AM
|
0
|
0
|
2290
|
|
POST
|
Si instead of <serverUrl url="http://hummer/ArcGIS/rest/services" matchAll="true"
dynamicToken="true"
></serverUrl> Would you simply have <serverUrl matchAll="flase"
dynamicToken="true"
></serverUrl> ? The comments in the proxy.config isn't very clear. To me " matchAll = true to forward any request beginning with the url" Means that if I set the URL to "http://myserver/" and matchAll = True the any request beginning "http://myserver/" will work. Cheers ACM
... View more
01-15-2013
07:54 AM
|
0
|
0
|
2290
|
|
POST
|
Hi - I've got a similar issue - but it seems to be IE specific. I have the proxy all set and Chrome and Firefox work fine./ Yet IE (8 & 9) fail In Fiddler I see a 500 error reported for POST /proxy/proxy.ashx?http://our server/arcgis/rest/services/test/edit/FeatureServer/0//applyEdits HTTP/1.1 With the page being returned as the normal .NET page Server Error in '/proxy' Application. and saying how to make changes to the web.config (which I don't have) to get better errors. I've just used the default proxy pages from the esri site (I'd edited the previous ones) and still get the error. When run on the server - fiddler shows a 500 page with [TABLE="width: 100%"] [No relevant source lines] [/TABLE] Any ideas. ACM
... View more
01-15-2013
05:27 AM
|
0
|
0
|
2290
|
|
POST
|
+ 1 on that - I've done all my coding in the "old" way with (for me) a majo app about to go to beta - So at the moment I have time to change - I just need pointing in the right direction - the info is there, but scattered around. Having all the example moved to the new way of doing things would be great.
... View more
01-11-2013
12:01 AM
|
0
|
0
|
1916
|
|
POST
|
😞 Big time breakage on 3.3 for my site I am doing - loads of parser errors - example -
dojo/parser::parse() error
TypeError
arguments: Array[2]
get message: function () { [native code] }
get stack: function () { [native code] }
set message: function () { [native code] }
set stack: function () { [native code] }
type: "non_object_property_call"
__proto__: Error
I'm sure I'll find out soon what is going on. Edit - Ah - is listed as a breaking change Using lang="en" can break apps that use when using layout dijits and data-dojo-config(or dojoConfig) locale or extraLocale is not set. The recommended fix is to set locale or extraLocale on data-dojo-config or remove the lang="en" attribute. The specific error seen when this is an issue is "dojo/parser::parse() error TypeError" in Chrome and "TypeError: _72f(...) is undefined" in Firefox. More information is available in the Dojo bug tracker:http://trac.dojotoolkit.org/ticket/15630#comment:7 http://trac.dojotoolkit.org/ticket/15768#comment:6
... View more
01-10-2013
06:15 AM
|
0
|
0
|
1798
|
|
POST
|
Looks like it's out. And full redesign of site as well.
... View more
01-09-2013
09:55 PM
|
0
|
0
|
2768
|
|
POST
|
Sorry editing on mobile site seems to have lost line breaks
... View more
01-05-2013
12:56 AM
|
0
|
0
|
5291
|
|
POST
|
HiI raised a similar issue here http://forums.arcgis.com/threads/72109-print-widget-task-default-legend-for-templateIt looked like it was a setting in the original mxdAway from work at present so can't test other solutions here, but I am guessing they may fail for me too. CheersACM
... View more
01-05-2013
12:50 AM
|
0
|
0
|
5291
|
|
POST
|
Hi Derek I've got similar issues - I tweak one of my showresults functions like this var Findsymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([98, 194, 204]), 2), new dojo.Color([98, 194, 204, 0.5]));
var items = dojo.map(results, function (result) {
var graphic = result.feature;
graphic.setSymbol(Findsymbol);
map.graphics.add(graphic);
return dojo.clone(graphic.attributes);
//return result.feature.attributes;
}); This worked fine with fixing the stack overflow on print, however, as I had an onclick that went to the feature, that then broke.
function onRowClickHandlerLS(evt) {
var clickedFeature = gridx.getItem(evt.rowIndex).OBJECTID;
var selectedFeature;
dojo.forEach(map.graphics.graphics, function (graphic) {
if ((graphic.attributes) && graphic.attributes.OBJECTID === clickedFeature) {
selectedFeature = graphic;
return;
}
});
var FeatureExtent = selectedFeature.geometry.getExtent();
map.setExtent(FeatureExtent);
}
"Uncaught TypeError: Cannot read property 'geometry' of undefined "
Any ideas? I'm having a good look at the moment but haven't seen anything obvious. Cheers ACM Edit - it looks like either the graphic.attribute.OBJECTID or cthe row OBJECTID was not getting returned in the same type as it used to. I have modified the onclick routine so -
function onRowClickHandlerLS(evt) {
var clickedFeature = gridx.getItem(evt.rowIndex).OBJECTID;
var selectedFeature;
dojo.forEach(map.graphics.graphics, function (graphic) {
var n1 = graphic.attributes.OBJECTID.toString();
var n2 = clickedFeature.toString();
if ((graphic.attributes) && n1 === n2) {
console.debug("..." + n1 + "..." + n2 + "...")
selectedFeature = graphic;
return;
}
});
var FeatureExtent = selectedFeature.geometry.getExtent();
map.setExtent(FeatureExtent);
}
and all is well (on that one, I've another task that puts results into a grid that works different that I'm having issues with - more later, maybe, if I can't sort it)
... View more
12-05-2012
04:37 AM
|
0
|
0
|
2600
|
|
POST
|
Hi I'm using the printtask to generate PDFs. I has a custom print service/export web map and ArcMap templates that I am tweaking. No, this may be a desktop question, but how can I force new layers in a MXD to get added to a legend with a particular style? The default does not include the layer name. This is what I want. Trying this in ArcMap I can select all added layers and control the legend style, but when a new layer is added is reverts to a default style. This must be controllable somewhere, but I have yet to find it. Cheers ACM
... View more
11-26-2012
02:21 AM
|
0
|
0
|
627
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:14 AM | |
| 1 | 12-01-2023 06:07 AM | |
| 2 | 11-29-2024 04:32 AM | |
| 1 | 05-28-2024 12:50 AM | |
| 1 | 03-16-2023 06:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|