POST
|
There is no any direct way to compare two child versions of a parent version either through ArcGIS Desktop or through ArcObjects.
... View more
08-23-2016
05:24 AM
|
0
|
0
|
273
|
POST
|
Hi Jose, I am also looking for any solution to exactly the same problem. Could you please let me know if you got any solution for this. Please reply. Thanks in advance! With Regards, Vara Prasad.
... View more
07-29-2016
02:59 AM
|
0
|
0
|
931
|
POST
|
Hi, Could anyone please give me some thoughts on identifying the differences between two child versions of a same parent version. I could able to implement finding differences between parent and child versions using ArcObjects, but could not identify any way to compare two child versions. Thanks & Regards, Vara Prasad.
... View more
07-29-2016
02:53 AM
|
0
|
1
|
1028
|
POST
|
I could able to solve this. By assigning empty arrays to out parameters of "next" method instead of null object. Thanks & Regards, Vara Prasad.
... View more
05-26-2016
05:11 AM
|
1
|
0
|
609
|
POST
|
Here is my code in JAVA. I tried same approach in .NET and it worked perfect. However, in JAVA ArcObjects, I am not getting any results, always giving 'null' for both "objectID" and "differenceRow". Could someone please help me. IVersionedWorkspace versionedWorkspace = new VersionedWorkspace(workspace); IVersion childVersion = versionedWorkspace.findVersion("SDE.Test"); IVersion parentVersion = versionedWorkspace.getDefaultVersion(); // Cast to the IVersion2 interface to find the common ancestor. IVersion2 childVersion2 = new IVersion2Proxy(childVersion); commonAncestorVersion = childVersion2.getCommonAncestor(parentVersion); // Cast the child version to IFeatureWorkspace and open the table. IFeatureWorkspace childFWS = new IFeatureWorkspaceProxy(childVersion); ITable childTable = childFWS.openTable(tableName); // Cast the common ancestor version to IFeatureWorkspace and open the table. commonAncestorFWS = new IFeatureWorkspaceProxy(commonAncestorVersion); commonAncestorTable = commonAncestorFWS.openTable(tableName); // Cast to the IVersionedTable interface to create a difference cursor. IVersionedTable versionedTable = new IVersionedTableProxy(childTable); differenceCursor = versionedTable.differences(commonAncestorTable, esriDifferenceType.esriDifferenceTypeInsert, null); int countChildRecords = childTable.rowCount(null); int countParentRecords = commonAncestorTable.rowCount(null); // Create output variables for the IDifferenceCursor.Next method and a FID set. IFIDSet fidSet = new FIDSet(); IRow[] differenceRow = null; int[] objectID = null; // Step through the cursor, showing the ID of each modified row. differenceCursor.next(objectID, differenceRow); Thanks & Regards, Vara Prasad.
... View more
05-13-2016
03:02 AM
|
0
|
1
|
609
|
POST
|
Hi Harrison, I am implementing the same thing in JAVA. I have implemented same code you quoted above both JAVA and .NET. I could able to get correct results in .NET. However, I am not getting any results in JAVA. Below is my code in JAVA. Could you please help me out. IVersionedWorkspace versionedWorkspace = new VersionedWorkspace(workspace); IVersion childVersion = versionedWorkspace.findVersion("SDE.Test"); IVersion parentVersion = versionedWorkspace.getDefaultVersion(); // Cast to the IVersion2 interface to find the common ancestor. IVersion2 childVersion2 = new IVersion2Proxy(childVersion); commonAncestorVersion = childVersion2.getCommonAncestor(parentVersion); // Cast the child version to IFeatureWorkspace and open the table. IFeatureWorkspace childFWS = new IFeatureWorkspaceProxy(childVersion); ITable childTable = childFWS.openTable(tableName); // Cast the common ancestor version to IFeatureWorkspace and open the table. commonAncestorFWS = new IFeatureWorkspaceProxy(commonAncestorVersion); commonAncestorTable = commonAncestorFWS.openTable(tableName); // Cast to the IVersionedTable interface to create a difference cursor. IVersionedTable versionedTable = new IVersionedTableProxy(childTable); differenceCursor = versionedTable.differences(commonAncestorTable, esriDifferenceType.esriDifferenceTypeInsert, null); int countChildRecords = childTable.rowCount(null); int countParentRecords = commonAncestorTable.rowCount(null); // Create output variables for the IDifferenceCursor.Next method and a FID set. IFIDSet fidSet = new FIDSet(); IRow[] differenceRow = null; int[] objectID = null; // Step through the cursor, showing the ID of each modified row. differenceCursor.next(objectID, differenceRow); Thanks & Regards, Vara Prasad.
... View more
05-13-2016
03:01 AM
|
0
|
0
|
418
|
POST
|
Hi All, I am trying to fetch the differences between a child version and its parent version which is the Default Version through ArcObjects SDK for JAVA. I am not getting any results into objectIDs and differenceRows when I called "differences" function as below... .... differenceCursor = versionedTable.differences(commonAncestorTable, esriDifferenceType.esriDifferenceTypeInsert, null); ..... differenceCursor.next(objectIDs, differenceRows); .... Followed the sample code given in below help document. We are using V 10.2.1 ArcObjects 10 .NET SDK Help However, when I used "Versioning" tool bar and used "Version Changes" tool, I am able to see the changes. Could some one please help me with this. Thanks & Regards, Vara Prasad.
... View more
05-12-2016
04:46 AM
|
0
|
2
|
2926
|
POST
|
Hi, 1. Could anyone one please let me know if there is any way to easily access ArcGIS Portal object in custom widgets just similar to this.map or this.appConfig. I found that we can access portalURL using this.appConfig.portalURL but no portal object or we need to simply create it where ever it is necessary. 2. Do we have any code written to fetch Web Maps that a logged in Portal user has access to in Web AppBuilder? Thanks & Regards, Vara Prasad.
... View more
05-04-2016
10:20 PM
|
1
|
1
|
1700
|
POST
|
Thanks Robert. I will give a try. With Regards, Vara Prasad.
... View more
04-21-2016
07:00 AM
|
0
|
0
|
490
|
POST
|
Thanks a lot Robert. It is very nice and very simple and working perfect. Just one thing that, the custom widget from where this map switching is initiated, is not getting loaded again. I am using, Plateau theme, foldable panel. Once, the app is reloaded with new WebMap, blank widget panel is kept opened (in which custom widget was opened before map was changed). It did not re load the original widget. Is it expected behavior and need to write any custom code to instantiate the widget again? or is there any other way? Thanks & Regards, Vara Prasad.
... View more
04-21-2016
06:39 AM
|
0
|
1
|
490
|
POST
|
Hi All, We would like to change the webmap assigned to the app created using Web AppBuilder dynamically in a custom widget. And all other widgets such as "Search", "Coordinate", "OverView Map", "SclareBar", "HomeButton", "ZoomSlider" will work with out any impact. So, could anyone please direct me if there is any OOTB utility available in Web AppBuilder framework? I am following the below procedure to implement this. Please let me know if there is any other best way. 1. Destroying current map (by..... this.map.destroy();) 2. Creating a new map with webmap id of desired webmap, using below code var mapDeferred = jimuUtils.createWebMap("<url of portal>", "newWebmapID", mapDivId, {}); 3. Publishing "mapChanged" event topic.publish('mapChanged', newMapObject); 4. Subscribing this event in all the widgets such as mentioned above and writing necessary code to set map object, events, to the code esri dijits It is working some how. But I am not sure if this is the correct way. So, I would request for any best solutions. Thanks & Regards, Vara Prasad.
... View more
04-20-2016
11:12 PM
|
0
|
4
|
2133
|
POST
|
I could solve this by changing value of the property "exprchar" to some other symbol other than '$' as below. data-dojo-props="exprchar: '@' Thanks & Regards, Vara Prasad.
... View more
04-04-2016
05:29 AM
|
0
|
0
|
301
|
POST
|
Hi All, I am trying to use "dojox/mvc/Group" in html template of a WebAppBuilder Widget. However when I am giving html as <div class="row" data-dojo-type="dojox/mvc/Group" data-dojo-attach-point="assetMVCGroup" data-dojo-props="target: at('rel:', ${this.index})"> i am facing an error while the widget is being instantiated by WidgetManager of the WebAppBuilder. Error: init.js:199 Error: uniqName_5 template:this.index(…) "Error: uniqName_5 template:this.index at Error (native) at .<anonymous> (https://js.arcgis.com/3.15/init.js:275:39) Could someone please help me in knowing how to use "Dojox/mvc/Group" in Web AppBuilder widgets, so that, the framework recognizes ${this.index} Thanks & Regards, Vara Prasad.
... View more
03-30-2016
03:56 AM
|
0
|
1
|
2602
|
POST
|
Thanks a lot Robert! It helped. After I have used those dojo loaders, the html is rendered on browser. I am using 'jimu/BaseWidget' hence, i think no need to mention "_WidgetBase, _TemplatedMixin" again in my custom widget. However, when I instantiate this custom widget using the method you specified above, I am unable to leverage the advantages given by 'jimu/BaseWidget' and 'jimu's - WidgetManager' of JS Web AppBuilder (though my custom widget is extending 'jimu/BaseWidget' and just because the instance is not given by WidgetManager and our custom code).. such as.. 1. this.map is not available 2. Events mentioned in "Communication to app container" help document (Communication to app container—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers ) Could you please help me if there is any way which I can follow to get these functionalities for my custom widget also either with above approach of instantiating or by using WigetManager's functions. I tried identifying how Widget Manager is creating instances for widgets. But, I could not understand where the 'settings' object is being generated for the widget to which instance has to be generated. Finally, what I am looking for is, a way to instantiate custom widget, which gives all the Web AppBuilder widgets functionalities mentioned above and ability to mention to which domNode the widget should be bound. Please let me know if I am not clear anywhere. Really I thank you very much for your kind help. Highly appreciated. With Regards, Vara Prasad.
... View more
03-28-2016
09:46 PM
|
0
|
0
|
915
|
Title | Kudos | Posted |
---|---|---|
1 | 04-22-2024 03:53 AM | |
1 | 04-10-2023 09:21 PM | |
1 | 03-20-2023 10:37 PM | |
1 | 03-07-2023 08:33 AM | |
1 | 01-28-2021 06:50 AM |
Online Status |
Offline
|
Date Last Visited |
04-22-2024
12:10 PM
|