POST
|
Thanks a lot Robert! Could you please let me know if we can develop that. If so, could you please show me a way/give some hints. Thanks in advance! With Regards, Vara Prasad
... View more
03-05-2019
07:15 AM
|
0
|
1
|
319
|
POST
|
Hi All, We are looking for a Theme which contains collapsible side panel with Accordion style to show different widgets in ESRI Web AppBuilder V 2.11. Robert Scheitlin, GISP, Could you please help me. Thanks in advance! With Regards, Vara Prasad
... View more
03-05-2019
05:40 AM
|
0
|
3
|
469
|
POST
|
Is there a way to get the "Version Data Changes" between two ArcSDE Versions and apply some QueryFilter/Where Clause on the differences using ArcObjects for JAVA? We are using VersionDataChanges Class to get IDifferenceCursor on calling VersionDataChanges::Extract function. This will give all the changes between the two versions. But, I would like to retrieve only those features which are satisfying some conditions, like applying IQueryFilter with some whereClause for Search Cursors. Thanks in advance! With Regards, Vara Prasad
... View more
02-19-2019
03:28 AM
|
0
|
0
|
246
|
POST
|
Hi Daniel Sotreanu & Randall Williams, The issue is not just with this tool. We are facing the same issue with any tool (OOTB tools also, for eg., Enable Attachments tool). The issue is with the tool "Upload Service Definition" which needs value for the input parameter "Server" (Which is mandatory) (This tool is executed in the scenes behind when a GP Service is being published by sharing the results) . Value for this parameter is not being supplied. This can be observed from below screen capture. We published the tool (Delta_Extract_Changes, custom GP Tool) successfully in other servers (ArcGIS Desktop on Windows OS and ArcGIS Server also on Windows OS). Is it because the ArcGIS Server is installed on Linux machine and which may need any specific special permissions? Just to test, I have written a Python script which executes UploadServiceDefinition GP tool. Below is the code of that. Through this also, UploadServiceDefinition tool failed to publish. import arcpy
from arcpy import env
# Set environment settings
env.workspace = "C:/data"
# Set local variables
inSdFile = "ExtractDeltaChanges.sd"
inServer = "GIS Servers/MyServer"
# Execute UploadServiceDefinition
arcpy.UploadServiceDefinition_server(inSdFile, inServer) Randall Williams, could you please throw some light on this. Thanks in advance! With Regards, Vara Prasad
... View more
02-21-2018
12:38 AM
|
0
|
0
|
4709
|
POST
|
Hi, Could someone please tell me how to access ArcSDE Geodatabase, which is published as GeoData service, into IWorkspace interface using ArcObjects. I am trying to initialize IGeoDataServer as below and then trying to cast this object to instantiate IGeoDataServerObjects interface and then call IGeoDataServerObjects::getDefaultWorkingWorkspace() to get object of IWorkspace. static IGeoDataServer initGeoDataServerFromInternetServer(String url, String
serviceName)throws Exception{
// Create a property set for connection properties.
IPropertySet propertySet = new PropertySet();
propertySet.setProperty("URL", url);
// Connect to the server and get an enumerator for its objects.
IAGSServerConnectionFactory agsServerConnectionFactory = new
AGSServerConnectionFactory();
IAGSServerConnection agsServerConnection = agsServerConnectionFactory.open
(propertySet, 0);
IAGSEnumServerObjectName enumServerObjectName =
agsServerConnection.getServerObjectNames();
enumServerObjectName.reset();
// Iterate through the objects to locate the geodata service.
IAGSServerObjectName serverObjectName = null;
IGeoDataServer geoDataServer = null;
while ((serverObjectName = enumServerObjectName.next()) != null){
if (serverObjectName.getName().equals(serviceName)){
IName name = (IName)serverObjectName;
geoDataServer = (IGeoDataServer)name.open();
break;
}
}
return geoDataServer;
} However, unable to cast object of IGeoDataServer neither to GeoDataServer nor IGeoDataServerObjects interface. Please let me know if I am not clear anywhere. Thanks &Regards, Vara Prasad.
... View more
01-04-2017
02:54 AM
|
0
|
0
|
500
|
POST
|
Hi Govindarajan, I have some similar problem. Could you please let me know how are you sending DB connection details as inputs to the GP Service? Thanks in advance! With Regards, Vara Prasad.
... View more
01-03-2017
10:18 PM
|
0
|
0
|
322
|
POST
|
Could someone please help me in identifying a good framework or approach for UnitTesting Web AppBuilder based custom widgets. Thanks & Regards, Vara Prasad.
... View more
11-22-2016
06:46 AM
|
0
|
0
|
208
|
POST
|
Hey, we are also looking for any best approach to do Unit Testing for WAB custom widgets. Could you please let me know if you find any good working approach for this. Thanks & Regards, Vara Prasad.
... View more
11-17-2016
07:35 AM
|
0
|
0
|
375
|
POST
|
Hi Robert, I have achieved the first task by implementing, "selection-change" event of PopUp. Implemented the other one too. Thank you With Regards, Vara Prasad.
... View more
11-09-2016
01:26 AM
|
0
|
1
|
643
|
POST
|
Hi Robert, We need to append information (related to the graphic from graphic layer where user clicks) to the default content. So, I am fetching the graphic details on click of graphic layer and trying to append content to the default infoWindow. I am doing this in one of my custom widgets. Please let me know if I am not clear. Thanks & Regards, Vara Prasad.
... View more
11-08-2016
10:04 PM
|
0
|
0
|
643
|
POST
|
Hi Robert, Thanks a lot for the reply. Here is the code that I have tried. What did you try? Can you share the code you attempted and where you placed it? on(graphicsLayer, "click", lang.hitch(this, function(evt) {
LayerInfos.getInstance(this.map, this.map.itemInfo).then(lang.hitch(this, function(operLayerInfos) {
arrayUtils.forEach(operLayerInfos._layerInfos, lang.hitch(this, function(layerInfo, index) {
//<<Code to identify the mapservice and layer id based on the graphic from graphic layer which has been clicked by executing some identify task >>
this._updatePopupContent(graphicObj, layerInfo, layerIndex);
}));
}));
}));
_updatePopupContent: function(graphic, layerInfo, subId) {
var mapServiceLayer = layerInfo.layerObject;
if (mapServiceLayer.infoTemplates && mapServiceLayer.infoTemplates[subId] && mapServiceLayer.infoTemplates[subId].infoTemplate) {
var contentdiv = mapServiceLayer.infoTemplates[subId].infoTemplate.content;
var newContent = domConstruct.create("div", null, contentdiv);
//<<code to create new elements and add to newContent div
//If title to be changed
mapServiceLayer.infoTemplates[subId].infoTemplate.setTitle("Information");
//approach 1 tried - no luck
mapServiceLayer.infoTemplates[subId].infoTemplate.setContent(contentdiv.innerHTML);
//approach 2 tried - no luck
mapServiceLayer.infoTemplates[subId].infoTemplate.content += contentBody.innerHTML;
}
} Thanks for the suggestion for the other issue. I will try it tomorrow as soon as I reach office. With Regards, Vara Prasad.
... View more
11-08-2016
10:37 AM
|
0
|
2
|
643
|
POST
|
Hi, I am trying to add a new attribute at the end of the list of actual attributes in infowindow of a dynamic map service added to web map which is used in Web AppBuilder. My workflow is - 1. Based on some operations, I would get a list of graphics from various layers of a dynamic map service. I need to add all these result graphics to a graphic layer 2. On click of this graphic layer, the infoWindow of dynamic map service shows the actual attributes 3. In this infoWindow it self, I need to add an additional attribute name and value (which is not in the data base) at the end or top of the actual attributes 4. Also, need to add a new link beside "zoom to" and on click of this new link, need to perform some action. For point 3 above, I tried, appending content of the infoWindow, but it is not working. For point 4 above, I am planning to implement a new "PopupAction" Could some one please suggest me how to implement point 3? And is it correct way to create a new "PopupAction" to implement point 4 or any other best approach? Thanks in advance! With Regards, Vara Prasad.
... View more
11-08-2016
06:09 AM
|
0
|
6
|
1449
|
POST
|
Hi, Could you please let me know, how does this new span HTML element will be identified by ArcGIS Server Javascript API as it would not be in Map object or PrintParameters? Thanks in advance! With Regards, Vara Prasad.
... View more
10-04-2016
02:59 AM
|
0
|
0
|
415
|
POST
|
Hi Robert, Is it possible to do the same thing using custom code if we know webmap id? Thanks in advance! With Regards, Vara Prasad.
... View more
09-07-2016
05:14 AM
|
0
|
1
|
298
|
POST
|
Hello Everyone, Could some one please guide me on unit testing procedures for applications developed using ESRI Web AppBuilder and ArcGIS Server JavaScript API. Thanks in advance! With Regards, Vara Prasad.
... View more
09-01-2016
01:32 AM
|
1
|
1
|
552
|
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
|