|
POST
|
Hi Firstly, did you select the option for the Geoprocessing tools during the installation of ArcGIS Mobile? Secondly, from recollection I think you also need to right-click on the root ArcToolbox and choose "Add toolbox", then navigate to Toolboxes > System Toolboxes, select the Mobile Tools and click Open. The toolbox should then appear in ArcToolbox. Regards John
... View more
09-17-2015
06:21 AM
|
0
|
6
|
2695
|
|
POST
|
Hi We have developed a class extension for a client that performs a number of custom actions when features are edited. It has been successfully used for some time. However, the client has started to use the Feature Caching options in ArcMap recently and this seems to be causing some issues. One of the functions of the class extension is to delete some related features in another feature class (A) when certain features in base feature class (B) are deleted. This is achieved in the code on delete of a feature by re-using the workspace from the base class (B) to open the related feature class (A), create an update cursor (non-recycling) using a query and then delete the required rows. This works great when there is no feature cache, but when using a feature cache, the features deleted by the cursor in the class extension do not get refreshed in the feature cache and therefore remain on the map and are selectable/identify-able until the user then clears the feature cache. I'm unsure why the ArcGIS doesn't deal with this properly, as the workspace we are using to perform the deletes on A should be identical to the workspace that was used for the delete on B. Has anyone worked around this type of issue with class extensions and feature caching? Any thoughts much appreciated. John
... View more
09-16-2015
08:19 AM
|
0
|
0
|
1467
|
|
POST
|
After much experimentation I have now managed to get our class extension working with ArcGIS Server. For anyone else that is attempting to convert a 32-bit class extension into a 64-bit one that is compatible with server, the steps I took were as follows: Set the platform target for the project(s) to x64; Changed the installer class (which invokes the ESRIRegAsm.exe to perform registration) to use “/p:Server” instead of “/p:Desktop”; Set the TargetPlatform for the setup and deployment project to x64; Build the solution; Use Orca to force the msi to use the 64-bit InstallUtilLib.dll for the custom actions. The final step was required because the resulting msi from the visual studio build would not install successfully and produced the following error: Error 1001: Exception occurred while initializing the installation: System.BadImageFormatException: Could not load file or assembly.... The following MSDN blog discussed this issue and how to work around it: http://blogs.msdn.com/b/heaths/archive/2006/02/01/64-bit-managed-custom-actions-with-visual-studio.aspx I followed the second set of steps, which are below and then the msi would successfully install and the class extension was correctly registered with server: Open the resulting .msi in Orca from the Windows Installer SDK Select the Binary table Click the Tables menu and then Add Row Enter, for example, InstallUtil64 for the Name Select the Data row and click the Browse button Browse to %WINDIR%\Microsoft.NET\Framework64\v2.0.50727 Select InstallUtilLib.dll Click the Open button Click the OK button Select the CustomAction table For each custom action where the Source column is InstallUtil and only those custom actions that are 64-bit managed custom actions (or that were built with /platform:anycpu , the default, where you want to run as 64-bit custom actions), change the value to, for example, InstallUtil64
... View more
08-07-2015
07:55 AM
|
0
|
0
|
4164
|
|
POST
|
Just to follow up on this. I raised a support call with Esri UK and they have identified that this is a known bug and documented here: NIM090755 - Lines symbolized with the No Color option in ArcMap still show up in the Mobile Project Center (MPC). http://support.esri.com/en/bugs/nimbus/TklNMDkwNzU1 Unfortunately it was raised in April 2013, so it's not looking good for a fix any time soon!
... View more
08-06-2015
09:38 AM
|
0
|
0
|
2336
|
|
POST
|
I've been working on this today and have got so far, but still struggling to get my class extension working with server. I've now set the platform target to x64, but references to Esri libraries all still look to be referring to the x86 version. The solution will compile, but gives me warnings like the below: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3912,5): warning : Type library exporter warning: Referenced type is defined in managed component, which is imported from a type library that could not be loaded because it was not registered (type: 'ESRI.ArcGIS.Geodatabase.IClassExtension'; component: 'C:\Windows\assembly\GAC_MSIL\ESRI.ArcGIS.Geodatabase\10.2.0.0__8fc3cc631e44ad86\ESRI.ArcGIS.Geodatabase.dll'). I've tried adding new references, but cannot see anything other than the x86 versions when I go to Add Reference > .Net tab. Any ideas - surely someone has done this before?? Thanks in advance, John
... View more
07-09-2015
10:17 AM
|
1
|
0
|
4164
|
|
POST
|
I've tried doing this for one of the layers - but you have to first symbolise on unique values, then makes sure there are no symbols defined. This seems to work in ArcMap, but after publishing and attempting to import the mobile service into MPC I'm now getting "Error: Invalid file or corrupted file". In any case, this solution would not work for layers where I have polygon symbols with no outline (i.e. a null line symbol for the outline). It seems to me like ArcGIS Mobile (or possibly the ArcGIS Server Mobile Service) is not picking up the Null and is instead substituting a default symbol. Surely I should be able to define a polygon fill that has no outline!
... View more
07-09-2015
06:38 AM
|
0
|
0
|
2336
|
|
POST
|
Hi I've created an mxd with some layers that use null symbols, for example a simple line symbol where the outline is set to null color, line width set to 0 and line style set to null. I've published this as a mobile service in AGS v10.2.1, but when viewing the mobile service in MPC v10.2.1 (3776), the lines are coming through with a default grey line symbol (i.e. are not null). This is messing up a whole bunch of symbology, because fills with outlines set as null (as above) are also coming through and labelled lines that represent road and town names are displaying with the line drawn underneath. I've previously set null line symbols in this way successfully in older versions of ArcGIS for Windows Mobile and have checked the mxds I used previously to do this, which use exactly the same as above (i.e. simple line symbol with null color etc). Surely this is a bug in the latest version as it MUST be possible to have a null line symbol? Anyone else experienced this behaviour in the latest version? Cheers John Added screenshots of AGM with line symbol using default grey line and ArcMap showing no line symbol as expected.
... View more
07-09-2015
05:02 AM
|
0
|
3
|
5296
|
|
POST
|
Hi I'm putting together a project for ArcGIS for Windows Mobile (Windows Application) and would perhaps like to use feature services for syncing instead of the old Mobile Service. In MPC I can see that there is an option to connect to a 'hosted' feature service, but this expects the service to be either hosted on ArcGIS Online or Portal for ArcGIS. With MPC, is there a way to connect directly to a feature service that is served by ArcGIS Server, without Portal installed? If this can't be done via MPC, is it possible through the SDK? I'm using ArcGIS Server 10.2.1 (without Portal) and ArcGIS for Windows Mobile 10.2. Regards John
... View more
07-06-2015
03:13 AM
|
0
|
0
|
3488
|
|
POST
|
Hi We've developed a class extension for ArcGIS Desktop (v10.2.1) for a client who now wants to use serve some of their data, which is registered with the class extension, using ArcGIS Server (v10.2.1). I've deployed the desktop class extension onto their development ArcGIS Server, which also has ArcGIS Desktop installed. The data is visible in ArcGIS Desktop, but when we publish this to server we are getting errors to do with the class extension along the lines of: The Layer:'<layername>' in Map:'Layers' is invalid. The base table definition string "<tablename>" is invalid. Unable to create object class extension COM component [<tablename>]. I've just done a quick search and it looks like this is due to ArcGIS Server being 64-bit and the class extension is designed and compiled for desktop, which is 32-bit. So it sounds like we need to produce a version of the class extension that is compiled against the 64-bit server assemblies. Is this all that is required? Has anyone else had to do this? What are the steps involved? Any help most appreciated. Cheers John
... View more
06-19-2015
06:44 AM
|
0
|
8
|
7997
|
|
POST
|
For a single user on a stand-alone machine, yes double-clicking the add-in is fine. However, the client has ArcGIS Desktop installed on Citrix and we don't want every user (100+) having to go through adding the add-in, which will get stored in their roaming profile, which is far from ideal because roaming profiles often get messed up and this will result in helpdesk calls. Instead we want it to appear by default in ArcGIS without the users needing to do anything and we want the add-in held in a single known folder location. In v10.0 this seems to be possible through adding a registry key to point to a shared add-in folder, but in 10.2.1 this approach doesn't work. The only approach that does work is to add the addin to C:\Program Files (x86)\ArcGIS\Desktop10.2\bin\Addins. Unless anyone knows any better, this looks to be the solution for 10.2.1.
... View more
06-18-2015
04:43 AM
|
0
|
0
|
4520
|
|
POST
|
Ok - I've now tested this in ArcGIS 10.0 and confirmed the registry key method works. In ArcGIS 10.2 I still can't get it to work. However, if I put the esriaddin file in C:\Program Files (x86)\ArcGIS\Desktop10.2\bin\Addins then the add-in is displayed in the Add-in Manager and the toolbar is available in the customise dialog. This isn't ideal and I'd rather use the registry key method and use a separate folder, so if anyone can confirm how to do this at 10.2, I'm all ears.
... View more
06-15-2015
08:29 AM
|
0
|
1
|
4520
|
|
POST
|
Hi I've read in the ArcObjects 10 .NET SDK Help that it's possible to set a registry key to specify the location of a shared add-ins folder. It seems from other posts that this should also work in v10.2, but I have tried setting this as follows and cannot see the toolbar that is part of the add-in within the Customise dialog in ArcMap. If I add the same folder location manually through the Add-in manager, I can see the toolbar. So can anyone see where I'm going wrong? Or is this not supported in 10.2? If using the registry doesn't work - then how else can we deploy add-ins without getting every user to do this through the Add-in Manager? Any thoughts appreciated. John
... View more
06-15-2015
07:52 AM
|
1
|
8
|
9416
|
|
POST
|
Hi I have a requirement to identify changes to a versioned feature class since a given date. The feature class has archiving enabled and I have been looking at the documentation regarding this and have come up with the following queries which should enable detection of the deleted, modified and new features: --DELETED select OBJECTID, GDB_FROM_DATE, GDB_TO_DATE from MYFC_H where GDB_TO_DATE <> '9999-12-31' AND GDB_TO_DATE > '2015-06-05 00:00' AND OBJECTID not in (select OBJECTID from MYFC_H where GDB_TO_DATE = '9999-12-31') --MODIFIED select OBJECTID, GDB_FROM_DATE, GDB_TO_DATE from MYFC_H where GDB_TO_DATE <> '9999-12-31' AND GDB_TO_DATE > '2015-06-05 00:00' AND OBJECTID in (select OBJECTID from MYFC_H where GDB_TO_DATE = '9999-12-31') --NEW select OBJECTID, GDB_FROM_DATE, GDB_TO_DATE from MYFC_H where GDB_TO_DATE = '9999-12-31' AND GDB_FROM_DATE > '2015-06-05 00:00' AND OBJECTID not in (select OBJECTID from MYFC_H where GDB_TO_DATE <> '9999-12-31') This appears to be working OK, based on some limited testing, but I was just wondering if anyone can verify the above or suggest a better way to do this using SQL (SQL Server) as I'm not sure the above is the most efficient SQL to achieve this. Any input most welcome. Regards John
... View more
06-05-2015
10:14 AM
|
0
|
1
|
4653
|
|
POST
|
Thanks Joe and David for your helpful input, it looks like you've confirmed what I was thinking.
... View more
06-03-2015
09:13 AM
|
0
|
1
|
2459
|
|
POST
|
Hi A customer of ours wishes to edit (update) a single attribute field in their SDE geodatabase (v10.2.1) via a feature service. However, the feature classes involved are versioned and the SDE default version is protected. Can someone in the know let me know what the best practice is for editing versioned feature classes via a feature service? I can find only minimal documentation on this. I assume that we would have to publish the feature classes from an ArcMap document that uses a connection to a specific named version created from SDE.Default. Then enable editing on the feature service? But how do the edits in that named version get posted back to the default version in this scenario? Any thoughts/experiences would be appreciated. Regards John
... View more
05-28-2015
09:11 AM
|
0
|
4
|
5941
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 04-02-2026 01:52 PM | |
| 2 | 03-07-2026 12:07 AM | |
| 4 | 03-06-2026 04:49 AM | |
| 1 | 03-31-2025 04:53 AM | |
| 1 | 12-11-2025 05:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-15-2026
02:10 AM
|