|
POST
|
bump - so no-one out there has had any issues with local installation of 3.5 (and indeed 3.4 as the folder structure is 3.4/3.4 in that download) Cheers ACM
... View more
07-17-2013
06:15 AM
|
0
|
0
|
1283
|
|
POST
|
Hi Is it OK to put a link to a similar issue that I raised a few days ago - http://forums.arcgis.com/threads/88405-Dynamically-created-datagrid-inside-ExpandoPane-sizing-issues - I've had allsorts of issues with a datagrid inside a expandopane. every time the pane collapses it re-sizes the datgrid away from the definition - sounds very similar to the OPs problem Cheers ACM
... View more
07-17-2013
06:14 AM
|
0
|
0
|
2144
|
|
POST
|
Hi I'm trying to install JSAPI 3.5. The instal.html that comes with it says to unpack the \arcgis_js_api\library into your server. Then to change the paths in the two files to ""<myserver>/arcgis_js_api/library/3.5/jsapi/" However, after copying the folder as specified my paths are different from the 3.3 install, and from these notes. The paths are now "D:\<IIS Home folder>\arcgis_js_api\library\3.5\3.5" - I tried modifying the paths in the two files to this new version but everything went splut. Errors below Is this just a case that the notes haven't been upgraded or has something else gone wrong? ACM GET http://xx/arcgis_js_api/library/esri/nls/jsapi_en-gb.js 404 (Not Found) init.js:15 Uncaught Error: xhrFailed init.js:15 GET http://xx/arcgis_js_api/library/3.5/dijit/dijit.js 404 (Not Found) init.js:15 Uncaught Error: xhrFailed init.js:15 GET http://xx/arcgis_js_api/library/3.5/dijit/form/Textarea.js 404 (Not Found) init.js:15 Uncaught Error: xhrFailed
... View more
07-16-2013
04:58 AM
|
0
|
3
|
1816
|
|
POST
|
OK, Here's what I have - I have a classic layout of expando panes. Left with TOC, main with map and bottom with other stuff. The bottom pane starts collapsed. I use this for a datagrid showing results of a find task. This datagrid will vary according to what layer is searched and is creadte fresh for each search. If a previous one exists it will be destroyed. This is the code that does that bit var w = dijit.byId("gridx"); if (w) {
w.destroy();
}
//then we construct a new DOM node, gridx,
require(["dojo/dom-construct"], function (domConstruct) {
domConstruct.place(infotext, "xxx", "after");
});
//because we are using a DataGrid we need to run the dojo parser again to get the info on it
//but just on the gridx object, totally re-ruunning it will fail as it will re-register existing items
dojo.parser.instantiate([dojo.byId("gridx")]);
I then create the new datagrid here's the first line of that bit var infotext = "<table data-dojo-type='dojox.grid.DataGrid' style='width: 97%; height: 120px;' style='overflow:auto' data-dojo-id='gridx' id='gridx' ><thead><tr>";
I then expand the expandopane if (!dijit.byId("footer")._showing) { dijit.byId("footer").toggle();
} Now the issue. The first time I run this the style of the datagrid as set above is ignored, resulting in a much bigger grid, any scroll bars are well off the visible screen. Subsequent runs of this routine work. I have created a dummy datagrid at the initial load that is the right size, but this doesn't do anything BUT, and this isn't 100%, if I expand the ExpandoPane straight after the initial load, with the dummy grid, that causes the size of the first real run to be correct. It seems to me to do with the fact that the ExpandoPane is collapsed. I have moved the expand routine to after I create the new datagrid within it, but that fails to. I've spent nearly a day playing around with this! Any help would be much appreciated ACM PS as a work around I have set it so that as soon as the user starts the search process (hits a button and a dialog box appears for the parameters) this is when I expand the results pane. If no results it collapses again. This seems to work. edit 2 Just noticed - once the datagrid is in the expandopane and correctly sized. I collapse the pane, then uncollapse it and the grid has all gone silly again. So what exactly happens to the contents of the pane when it collapses? Do they all get a resize command? Here's the before collapse generated HTML <div hidefocus="hidefocus" role="grid" dojoattachevent="onmouseout:_mouseOut" tabindex="0" aria-multiselectable="true" class="dojoxGrid" id="gridx" align="left" widgetid="gridx" aria-readonly="true" aria-activedescendant="gridxHdr6" style="width: 97%; height: 120px;">
.
.
and after collapsing the expnadopane <div hidefocus="hidefocus" role="grid" dojoattachevent="onmouseout:_mouseOut" tabindex="0" aria-multiselectable="true" class="dojoxGrid" id="gridx" align="left" widgetid="gridx" aria-readonly="true" style="width: 1680px; height: 18px;">
.
. So, even when hidden my data grid has been resized incorrectly!
... View more
07-12-2013
01:09 AM
|
0
|
1
|
3301
|
|
POST
|
Ah - I see - amazingly I went to that page earlier, but didn't read it the same way I do now! I was looking for a easy way to access a variety of (non-spatial) data tables from different data sources which I currently hit using classic asp script - many of our layers have lots of extra data stashed all over the place in non-spatial corporate systems, which are linked with unique property keys . I think I may either stick to my classic asp. or add all these as tables to a map service and hit them that way. On that subject, when I did try adding a table to a map service earlier the layer number was the last layer - I couldn't seem to be able to define the order. Any ideas on that one? Cheers ACM
... View more
07-10-2013
12:05 PM
|
0
|
0
|
2074
|
|
POST
|
Hi I have a need to query a single table in my SDE in my API pages. I stumbled across the QueryDataSource class https://developers.arcgis.com/en/javascript/jsapi/querydatasource-amd.html There seems no examples of this in use and very scant documentation. The main thing I realized straight away is I had no idea what the "workspaceId" is beyond the description" The workspace id for the registered file geodatabase, SDE or Shapefile workspace." Am I right in assuming this is one of the data connections we started to have to define in ArcGIS server 10.1? I'm not sure it can be as there isn't a note to say it requires 10.1 Cheers ACM edit - I have a feeling I'm going to answer this one myself by the end of a the day, but just found this ArcGIS Server 10.1 also provides the ability to work with data in a registered workspace but not published via a map service. This gives administrators and developers the flexibility to add data to apps that isn't visible from the REST services directory. The caveat is that developers need to know the workspace name and data layer/table name to be able to add it to a web application. To see this in action, click the "Add Lakes" button. The lakes layer can then be reordered within the map service. My bold/underlining - so is it the NAME I need? OK failed there, moved onto TableDataSource - same issue with lack of docs and using the Data connection name I get Unable to find 'workspaceId'in 'dataSource' for dynamic dataLayer with 'id': -1.", No-where can I find what the ID is.
... View more
07-10-2013
05:12 AM
|
0
|
4
|
3461
|
|
POST
|
Ok - resolved this so I thought I'd share. It looks like something to do with proxies/CORS. Whilst the map looked OK, various map.onload events hadn't attached. My dev system on url http:\\mysys_dev referenced the API on http:\\mysys_live - when I copied the API over to the dev URL everything worked. I haven't investigated the various options for controlling CORS yet, but in fact the situation is better for me, as I can have differnt versions of the API of dev and live
... View more
07-06-2013
12:55 AM
|
0
|
0
|
771
|
|
POST
|
Hi This is something specific to my code, so I must have borked it somehow, but my development version of an internal app works fine APART from the absence of the zoom box - normally red outline with semitransparent grey fill. The functionality of the zoom works fine - you zoom into the area that would have been indicated. There are no console error messages. The esri sample work OK. I'm using my own hosted 3.3 API. Any pointers anyone before I tear my code down? Cheers ACM
... View more
07-04-2013
09:06 AM
|
0
|
1
|
1406
|
|
POST
|
no-one have any ideas about this, our clock is ticking and I need to get my app working in IE10 It must be something I have added recently that has caused this as earlier versions of my app worked in IE10 - but there's about 3 months of changes I'll have to pick through - if anyone has any pointers it would be appreciated.
... View more
07-02-2013
11:10 PM
|
0
|
0
|
3287
|
|
POST
|
Hi I'm getting a similar issue - just been told we are finally planning on our XP - Win 7 upgrade so testing my app on IE10 I get exception in animation handler for:onEnd
RangeError: Array length must be a finite positive integer I'm using 3.5 of the API and ArcGIS server 10.1 SP1 so all up to date Cheers ACM
... View more
06-28-2013
01:08 AM
|
0
|
0
|
3287
|
|
POST
|
Hi I thought I'd have a play with geocoders in the hope of adding the widget to my javascrip api app. However I'm having all sorts of issues. Using the UK Postcode template from above (many thanks) - I can get one set up, but it only does a full match, so it will return a match for "EX10 8HL" but not for "EX10 8" So, I set a even simpler one up, just wards, again it returns only if te full string is matched, and then only one hit, so a search for "Ward" returns only one result, despite all the wards having this string in its name. The whole thing looks very promising, I'd love to offer some sort of fuzzyness to my browser based users, but simply cannot get to grips with this at all. Cheers ACM
... View more
06-27-2013
01:25 AM
|
0
|
0
|
2476
|
|
POST
|
Having hit this issue again and searching the forums I found my original post (above), but also another thread that answers it http://forums.arcgis.com/threads/43001-Overview-Map-Attributes?highlight=ovwHighlight So just adding this post here to point anyone else to the answer. -
... View more
06-21-2013
01:10 AM
|
0
|
0
|
728
|
|
POST
|
Doh! Just checked and the latest IS 10.1.1 - version numbers yet again changed.
... View more
06-17-2013
02:07 AM
|
0
|
0
|
1036
|
|
POST
|
According to http://www.esri.com/software/arcgis/arcgismobile/system-requirements ArcGIS for Windowsn Mobile 3.1 (although as "Update version number is listed as a feature for Windows Phone app http://resources.arcgis.com/en/help/windows-phone-app/#/What_s_new/01s900000023000000/ expect yet ANOTHER renumbering to take place soon) states it works on Windows 8 Having said that I am having serious issues with it re-projecting a tiled basemap, which works fine with exactly the same software on XP and Server 2008 machines? I really get the impression that Esri are not committed to this product.
... View more
06-17-2013
01:57 AM
|
0
|
0
|
1036
|
|
POST
|
Hi I currently have my multi layer info window open in a DojoFloating pane, which shows, in one screen all the results from all the layers. It can get quite big. In ArcIMS the equivalent (that I am mimicking ) is in a real new window and can be moved anywhere, so for us with 2 (or more) monitors it can be moved way off the map. All dojo stuff, by their nature are part of the main window - they are not real new windows. Anyone any ideas how I can open a new window and then populate it with my results. The only thought I have had so far is to dump the contents to local storage (as this is an intranet project I know I can use Local storage) then retrieve it as the new window opens. Any other thoughts? ACM
... View more
06-11-2013
07:22 AM
|
0
|
0
|
637
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-19-2026 12:29 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|