|
DOC
|
Sorry, this function was added a while ago, but just realised that I haven't updated the zip file here. thanks for reminding me
... View more
08-27-2019
11:30 PM
|
1
|
0
|
4174
|
|
DOC
|
No worries Aimei. Thanks for letting us know it works. Yes it it all possible to save most of the app configurations (if not all configurations) into the session. but I'd rather to keep it simple and focus on the map itself , in particular the settings of the operation layers (group layer capacity, visibility, order, extent etc.) .
... View more
08-27-2019
09:44 PM
|
0
|
0
|
4174
|
|
POST
|
I am creating a secure WMS connection. and I'd like to save the username and password to the connection file, so that I can share with others. I get the warning about the risks associated with saving credentials to connection file, but I know what I am doing, so I confirm the option I choose. After the connection is created, I add the wms layer to my map, unexpectedly, I am still prompted for password for the provided username. it seems the username are somehow saved in the connection file, but not the password. The property of the connection shows the credential is save to Windows Credential Manager. So is this a bug? is there a work around to allow the username and password to be saved in the connection file? Any advice will be highly appreciated. Thanks
... View more
08-22-2019
05:06 PM
|
0
|
2
|
2035
|
|
POST
|
Thanks for giving the clarification. we are on 10.6.1.
... View more
08-21-2019
09:44 PM
|
0
|
0
|
5790
|
|
POST
|
Hi Christopher Have you found a solution for this? I am having the same issue here... Cheers
... View more
08-20-2019
11:17 PM
|
0
|
0
|
5790
|
|
POST
|
It seems you are using ArcGIS Pro to authorize your Python API. In this case, the API will connect to the active portal set in ArcGIS Pro. https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/#Connecting-through-ArcGIS-Pro Which version of ArcGIS API for Python are you using? the latest version supports IWA better.
... View more
07-30-2019
05:15 PM
|
2
|
2
|
4558
|
|
POST
|
I have a script running perfectly in Jupyter Notebook. Now I am thinking of whether or not I should publish it as a web tool so that it can be shared among my colleagues --- I am the only one having a ArcGIS Python API and Jupyter environment. Seemingly straight-forward, but the reality may be not: Firstly, I don't know if the ArcGIS Python API modules are available on the portal, which are the dependencies of my tool. Secondly, I am using federated ArcGIS Server. should I publish to the portal or to the ArcGIS server directly? If I want to publish to the Federated ArcGIS server, do they have the ArcGIS Python API modules? Thirdly, some of my data involved in the calculation is local spreadsheets, and some are in enterprise database. it's hard to choose between "copy" and "reference", ideally, I want the spreadsheet to be copied across temporarily and deleted after the tool is executed. the data in the enterprise database should be referenced... I realise that in the latest ArcGIS Enterprise (10.7.x which we don't have at the moment), there's an alternative available: Sharing the notebook so that anyone with portal access can run my notebook. but I don't think my colleagues will be interested in seeing the python code (the code themselves are meaningless to the users anyway), what they need is a function they can use via a simple user interface, not the code. Any suggestions, advice and comments are welcome.
... View more
07-25-2019
11:53 PM
|
0
|
1
|
1360
|
|
POST
|
It's a bug. BUG-000123249 - Exporting an attribute table to a CSV from a Query layer created via the Query Widget in Web App Builder fails, returning no error message.
... View more
06-20-2019
10:13 PM
|
2
|
1
|
2062
|
|
POST
|
Bug confirmed. BUG-000123249 - Exporting an attribute table to a CSV from a Query layer created via the Query Widget in Web App Builder fails, returning no error message.
... View more
06-20-2019
10:12 PM
|
0
|
0
|
2200
|
|
POST
|
Export to CSV function is not working in the Attribute Table widget when the table is the result of a query from the Query Widget. I tested this in ArcGIS Online. Here is what I did: Add Query widget in your web application using WAB. Show the Query result in Attribute table (assume it is allow to be displayed in Attribute Table ) In the Attribute Table , Select the option of Export All to CSV (assume the allow exporting to CSV is checked for Attribute Table) Click OK on the Export to CSV dialogue box, and nothing happens and in the browser console, you see errors. Is it a bug for the Attribute Table widget? Note: I've posted this in Web AppBuilder Custom Widget space as well, because this happens in both the built-in WAB and WAB Developer Edition, to better understand the cause you need to understand the code which the Custom Widget space deals with. It's hard to decide which space it belongs, it would be good if we can select more than one places when asking a question.
... View more
06-19-2019
05:53 PM
|
0
|
4
|
2332
|
|
POST
|
Yep. I've contacted ESRI Australia. I suspect this is a bug in Attribute Table Widget because I can export the result to CSV in the Query Widget. I'll update this post when ESRI confirms this. Thanks.
... View more
06-19-2019
05:32 PM
|
0
|
0
|
2200
|
|
POST
|
Hi Robert I am not creating the temp layers manually, it is created by the Query widget when a query is executed. After the layer is created, it will be shown in the AttributeTable widget as well as in the LayerList widget.
... View more
06-18-2019
05:26 PM
|
0
|
1
|
2200
|
|
POST
|
I tried this in both WAB Portal version and Developer Edit, and he result seems the same. Here is what's shown in the Chrome console: Further investigation reveals that the cause is the projection of the query result (wkid: 4326 in my case) is not the same as the map projection (wkid:102100). In the code (exportToCSV function in _FeatureTable.js), it says: var isSameProjection = this.layer.fullExtent.spatialReference.equals(
this.map.extent.spatialReference);
var hasArcadeExpressionFields = this._hasArcadeExpressionFields();
// if the output layer's spatial reference is the same as map's, which means
// a spatial reference conversion to make output data (X, Y fileds) consistent with
//layer's original projection system is NOT needed. then we can use data from client side.
// if they are different, then it needs to send a query request to
// server side (handle by "_getExportDataFromServer" method in jimu/CSVUtils.js)
// to get the data with correct spatial reference
if(isSameProjection) {
var rows = array.map(
this._getTableSelectedIds(),
lang.hitch(this, function(id) {
for (var i = 0, len = datas.length; i < len; i++) {
if (datas[i] && datas[i][oid] === id) {
return datas[i];
}
}
return {};
})
);
var _selectedData = rows || [];// get selected data
// if table were in selection mode and no records were selected, we push an
// empty object to _selectedData, for the following logic compatible.
if(_selectedData.length === 0 && this.isSelectionMode()){
_selectedData.push({});
}
_exportData = _selectedData;
if(_selectedData.length === 0 && this.grid.store instanceof Memory){
_exportData = lang.clone(this.grid.store.data);
}
if(_exportData.length){
this._appendXY(_exportData);
}
} If I force isSameProject to equal to "true", it will work. But, will that have any side-effects to other parts of my applicaiton? is it a Query widget bug or AttributeTable widget bug? My data and my map are both in 102100 projection, I have no idea where the 4326 spatial reference comes from.
... View more
06-18-2019
12:22 AM
|
0
|
5
|
2381
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-28-2019 05:13 PM | |
| 1 | 02-25-2019 04:54 PM | |
| 1 | 03-05-2019 02:08 PM | |
| 1 | 03-12-2019 10:20 PM | |
| 1 | 11-27-2024 04:36 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-17-2025
07:39 AM
|