POST
|
I am configuring the ArcGIS Geoanalytics server on 10.7.1 Enterprise. The server installations and configuration completed. we are able to federate the server to the Enterprise. however, changing the ArcGIS Enterprise Feature Analysis - GeoAnalytics Tools settings we are receiving following error: Unable to set gis.xxxx.com/geoanalyticsserver as the GeoAnalytics Server. Failed to update federated server 'gis.xxxx.com (id: SEEJBPmTdDOmFVfp)'. The server at 'https://gis.xxxx.com/geoanalyticsserver/admin/security/config/changeServerRole' returned an error. Error encountered while changing the server role. Could not connect to the ArcGIS component at URL 'https://gis.xxxx.com/arcserver/admin/data/trustedServers'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: connect timed out Kindly advise...
... View more
06-26-2020
01:23 PM
|
0
|
2
|
757
|
POST
|
Hi Mervyn, You have to change only in PanelPage.qml. navigate to: Component {
id: identifyFeaturesView section and replace the function function bindModel () { with following code: function bindModel () {
featuresView.model = Qt.binding(function () {
try {
//Custome Code
console.log("attributes",
JSON.stringify(mapView.identifyProperties.features[currentPageNumber-1].geometry.json));
var spatialReference = ArcGISRuntimeEnvironment.createObject("SpatialReference", {wkid: 4326});
var projectedPoint = GeometryEngine.project(mapView.identifyProperties.features[currentPageNumber-1].geometry, spatialReference);
console.log("projectedPoint", JSON.stringify(projectedPoint.json));
featuresView.directionLat = projectedPoint.y;
featuresView.directionLong = projectedPoint.x;
// Custome Code Ends
var popupManager = mapView.identifyProperties.popupManagers[currentPageNumber-1]
//featuresView.layerName = popupManager.objectName
featuresView.layerName = popupManager.popup.title
var popupwebfields = popupManager.popup.popupDefinition.fields
var popupModel = popupManager.displayedFields
if (popupModel.count) {
var feature1 = mapView.identifyProperties.features[currentPageNumber-1]
var attributeJson1 = feature1.attributes.attributesJson
attrListModel.clear()
for(var key in attributeJson1)
{
// if(attributeJson1.hasOwnProperty(key))
// {
// attrListModel.append({
// "label": key,
// "fieldValue": attributeJson1[key]!== null?attributeJson1[key].toString():null
// })
// }
for(var cnt = 0; cnt < popupwebfields.length; cnt++){
var key1 = popupwebfields[cnt]
if(key1.visible === true && key1.fieldName === key){
attrListModel.append({
"label": key1.label,
"fieldValue": attributeJson1[key]!== null?attributeJson1[key].toString():null
})
break
}
}
}
return attrListModel
//return popupManager.displayedFields
} else {
// This case handles map notes
var feature = mapView.identifyProperties.features[currentPageNumber-1]
var attributeJson = feature.attributes.attributesJson
attrListModel.clear()
if (attributeJson.hasOwnProperty("TITLE")) {
if (attributeJson["TITLE"]) {
attrListModel.append({
"label": "TITLE", //qsTr("Title"),
"fieldValue": attributeJson["TITLE"].toString()
})
}
}
if (attributeJson.hasOwnProperty("DESCRIPTION")) {
if (attributeJson["DESCRIPTION"]) {
attrListModel.append({
"label": "DESCRIPTION", //qsTr("Description"),
"fieldValue": attributeJson["DESCRIPTION"].toString()
})
}
}
if (attributeJson.hasOwnProperty("IMAGE_LINK_URL")) {
if (attributeJson["IMAGE_LINK_URL"]) {
attrListModel.append({
"label": "IMAGE_LINK_URL",
"fieldValue": attributeJson["IMAGE_LINK_URL"].toString()
})
}
}
return attrListModel
}
} catch (err) {
featuresView.layerName = ""
return defaultListModel
}
})
} This is working fine for my requirements. you can fine tune the code as required.
... View more
05-05-2020
06:49 AM
|
0
|
1
|
699
|
POST
|
Thank you Tina for your guidance. The following code change in panelPage.qml was able to display the popup from webmap. //featuresView.layerName = popupManager.objectName
featuresView.layerName = popupManager.popup.title
var popupwebfields = popupManager.popup.popupDefinition.fields
var popupModel = popupManager.displayedFields
if (popupModel.count) {
var feature1 = mapView.identifyProperties.features[currentPageNumber-1]
var attributeJson1 = feature1.attributes.attributesJson
attrListModel.clear()
for(var key in attributeJson1)
{
// if(attributeJson1.hasOwnProperty(key))
// {
// attrListModel.append({
// "label": key,
// "fieldValue": attributeJson1[key]!== null?attributeJson1[key].toString():null
// })
// }
for(var cnt = 0; cnt < popupwebfields.length; cnt++){
var key1 = popupwebfields[cnt]
if(key1.visible === true && key1.fieldName === key){
attrListModel.append({
"label": key1.label,
"fieldValue": attributeJson1[key]!== null?attributeJson1[key].toString():null
})
break
}
}
}
return attrListModel
//return popupManager.displayedFields
... View more
05-02-2020
11:34 AM
|
0
|
3
|
699
|
POST
|
Dear Team, I am using Map Viewer template and configured the web map item id. Application loading the web map directly and all tools are working fine, except Search and Popup. 1. Search: My search is pointing to default portal search. What is the procedure to change this search with in the web map layers? 2. Popup: I have custom popup configured on the web map. the application is not honoring the custom popup. do i need to change the identify view for this? Kindly advise. Thank you.
... View more
05-01-2020
01:45 AM
|
0
|
5
|
776
|
POST
|
If you have antivirus installed on the server, disable it and try. it worked for me while installing 10.7.1
... View more
09-16-2019
05:52 AM
|
1
|
0
|
2250
|
POST
|
We are able to solve this by disabling the antivirus on the server.
... View more
09-16-2019
05:50 AM
|
1
|
0
|
703
|
POST
|
Mr.Christian clearly mentioned, the GP tool is available from 10.5. in your case the database is already recognizing the table as polygon feature class (in your 1st replay). how many records are there in this feature class? What is the performance when you try querying or opening attribute table from desktop? query for 1 record from REST URL and check the response time. it is advised to analyse the sql query performance in Oracle.
... View more
09-16-2019
04:17 AM
|
0
|
1
|
1308
|
POST
|
Hi Sandeep, as suggested by Mr.Christian, please open the GP tool from the path "toolboxes\system toolboxes\data management tools.tbx\geodatabase administration\register with geodatabase" and follow the instructions.
... View more
09-16-2019
01:34 AM
|
2
|
3
|
1308
|
POST
|
We are creating ArcGIS Enterprise Portal Site on a machine (Windows 2016 standard OS - 4 core virtual machine). installation is completed successfully. However, while creating the site following error is displaying: "There was an error creating your initial administrator account. Index Service configuration failed." I attaching the log file generated. Any idea, what is going wrong??
... View more
09-16-2019
12:31 AM
|
0
|
1
|
881
|
POST
|
Goal: Develop a web application using ArcGIS JavaScript API that has a single login experience for the end user and that enables them to edit feature layers hosted on Portal for ArcGIS. Setup: We are using OpenText Coordys development environment. The GIS HTML Javascript application is in X-Form (Iframe) of the Coordys sytem. The web map consumed by the application from Portal for ArcGIS 10.5.1 and ArcGIS Server 10.5.1 The ArcGIS Enterprise environment is 10.5.1 (ArcGIS Server is federated and hosted) and exposed to internet using reverse proxy from organization. We are using ArcGIS JavaScript 3.23 The web map is shared only with a group and a technical user has the access to this group. Whoever access the coordys application should be able to view the GIS map without asking authentication. The technical user is configured in Coordys to generate the token directly from portal and pas the token details to GIS map viewer with a service. We are able to get the token before creating the map and utilized in Identity manager to register. However, while creating the map the error returned in JS and map is not creating. The code is: require([ "esri/map", "esri/toolbars/navigation", "esri/layers/FeatureLayer", "esri/dijit/PopupTemplate", "esri/InfoTemplate", "esri/geometry/webMercatorUtils", "esri/layers/FeatureLayer", "esri/layers/LayerInfo", "esri/urlUtils", "esri/arcgis/utils", "esri/layers/Field", "esri/config", "esri/tasks/GeometryService", "esri/dijit/OverviewMap", "esri/dijit/Legend", "esri/dijit/LayerList", "esri/dijit/Scalebar", "esri/dijit/HomeButton", "esri/dijit/Search", "esri/dijit/BasemapGallery", "esri/dijit/Basemap", "esri/dijit/Measurement", "esri/dijit/LocateButton", "esri/geometry/Point", "esri/SpatialReference", "esri/IdentityManager" ], function (Map, Navigation, FeatureLayer, PopupTemplate, InfoTemplate, webMercatorUtils, FeatureLayer, LayerInfo, urlUtils, arcgisUtils, Field, esriConfig, GeometryService, OverviewMap, Legend, LayerList, Scalebar, HomeButton, Search, BasemapGallery, Basemap, Measurement, LocateButton, Point, SpatialReference, esriId ) { parser.parse(); var tokenProp = { expires: parseInt(globalPSObj.expires), server: Configs.portalurl + "/sharing/rest", ssl: globalPSObj.ssl, token: globalPSObj.Token, userId: globalPSObj.userId }; esriId. registerToken(tokenProp); arcgisUtils.arcgisUrl = Configs.portalurl + "/sharing/content/items"; arcgisUtils.createMap(Configs.webmapid, "map").then(function (response) { var map = response.map; var ProjectRequests, Estimates, ProposedProjects, PR_Point; } }); Please advice the approach I am following is correct or what is the best way to implement this to by pass the user login.
... View more
04-03-2018
04:40 AM
|
0
|
1
|
1742
|
Title | Kudos | Posted |
---|---|---|
1 | 09-16-2019 05:52 AM | |
2 | 09-16-2019 01:34 AM | |
1 | 09-16-2019 05:50 AM |
Online Status |
Offline
|
Date Last Visited |
06-21-2023
09:25 PM
|