|
POST
|
Does QuickCapture support webhooks using Microsoft Automate (previously Flow)? We'd like to create a webhook for emailing a group when a capture is submitted.
... View more
01-11-2021
07:00 PM
|
1
|
16
|
5501
|
|
POST
|
Thanks Noah, good thought; I'll see if I can plug in our imagery service using the sandbox you provided.
... View more
06-17-2020
02:33 PM
|
1
|
0
|
1298
|
|
POST
|
It's on the to-do list to upgrade the app to 4.15, which will involve a large effort to cover the breaking changes.
... View more
06-17-2020
02:17 PM
|
0
|
2
|
1298
|
|
POST
|
We have an application that is running on version 4.9 of the API. It utilizes the BasemapGallery widget, which includes a WMTS service hosted by EagleView/Pictometry. The application will not load in Edge following Microsoft's recent major update, and it gives the following error in the console. Is anyone else experiencing this issue and if so, is there a workaround? HTTP503: SERVICE UNAVAILABLE - The service is temporarily overloaded. GET - https://js.arcgis.com/4.9/esri/widgets/BasemapGallery/support/LocalBasemapsSource.js Error: scriptError src: dojoLoader info: https://js.arcgis.com/4.9/esri/widgets/BasemapGallery/support/LocalBasemapsSource.js,[object Event]
... View more
06-17-2020
10:11 AM
|
0
|
4
|
1337
|
|
POST
|
I'm attempting to export a table view (query layer) from a SQL database (not a gdb) using the Copy Rows tool, and am getting the not so helpful "ERROR 999999: Error executing function.". So far I've tried this in a stand alone python script, and the model included below for reference. When I try this in ArcMap it works fine, using File->Add Query Layer, then right-click and export on the resulting layer. Any ideas, has anyone else run into this? Thank you.
... View more
06-17-2020
08:47 AM
|
0
|
0
|
574
|
|
POST
|
Thanks Robert, The connect class looks straight forward for handling the popup events. Do you have a recommendation for where in the WAB structure to add these custom events? I'm not sure if we're having issues, but the PopupPanel does not restore control to the map popup when we close the panel. Subsequently clicking on a feature brings the PopupPanel back (we can't get back to the standard popup without restarting the app). I see where you are removing the .myPopupHidden css class in the onDestroy() function, but program flow does not seem to reach that function in our implementation.
... View more
04-08-2020
05:00 PM
|
0
|
1
|
2253
|
|
POST
|
Hello Robert, How would I alter the listener on the maximize window of the WAB Map.InfoWindow, so rather than the default action it opens your PopupPanel widget instead? My goal is to mimic the behavior of the 4.x Popup widget's maximize function using your custom widget: when you click maximize on the standard map.infoWindow, it opens the PopupPanel when you 'X-out' of the PopupPanel, the widget closes, and the listener is returned to the standard map.infoWindow for the next on(feature, click).
... View more
04-08-2020
03:20 PM
|
0
|
3
|
2253
|
|
IDEA
|
We have customers who feel so strongly about this, we are considering hosting a WAB Developer version of the application, just so they can drag the popup away from the feature and view both the entire feature and the popup at the same time. The dockable infowindow functionality in the 4.x API will also work. Why has this functionality not made its way into the 3.x/WAB?
... View more
02-27-2020
10:43 AM
|
0
|
1
|
2033
|
|
POST
|
Robert, Just to follow up after more testing: Here's the code I'm currently using: _getLayerID: function _getLayerID(map, layerTitle) {
//local function to fetch the LayerID of layer in the map
var layerID;
LayerInfos.getInstance(map, map.itemInfo).then(lang.hitch(function (operLayerInfos) {
operLayerInfos.traversal(function(layerInfo) {
if (layerInfo.title == layerTitle){
layerID = layerInfo.id;
}
});
}));
return layerID;
},
startup: function startup() {
var _this = this; // used to fix the scope of objects inside events
var map = this.map;
var parcelLayerName = this.config.ParcelLayer_Name; //Name of parcel layer in the map, set from config.json
var parcelLayer = map.getLayer(this._getLayerID(map, parcelLayerName));
// Define the Selected Parcels Symbol
var highlightSymbol = this._getHighlightSymbol();
////////////// Listener Events
// Define OnClick event for clicking on a Parcel
this.onParcelClick = on.pausable(parcelLayer, 'click', lang.hitch(function (e) {
var taxlotString = esriLang.substitute(e.graphic.attributes, "${TAXLOT}");
var ownerString = esriLang.substitute(e.graphic.attributes, "${OWNERNAME}");
if (ownerString.length > 24) ownerString = ownerString.substring(0, 24) + "...";
var attr = { "Taxlot": taxlotString };
var highlightGraphic = new Graphic(e.graphic.geometry, highlightSymbol, attr);
map.graphics.add(highlightGraphic);
...
};
... The rest end point for the map service layer I'm working with is https://....arcgis/rest/services/Public/PlanningBaseData/MapServer/2 The layerID returned from my _getLayerID function is "PlanningBaseData_5029_2". The error I'm getting now is: TypeError: Cannot read property 'on' of undefined
... View more
01-11-2017
12:59 PM
|
0
|
2
|
1255
|
|
POST
|
No errors or other message in the console. On opening, my widget temporarily turns off the infoWindow on the parcel layer and changes the cursor to a crosshair. When I click nothing happens, whereas before it would add the clicked-on parcel to map.graphics as expected.
... View more
01-07-2017
10:58 AM
|
0
|
4
|
1255
|
|
POST
|
This code works with a hosted feature service: // Define hook for Parcel Layer
var parcelLayer = map.getLayer(this._parcelLayerID);
// Define the Selected Parcels Symbol
var highlightSymbol = this._getHighlightSymbol();
// Define OnClick event for clicking on a Parcel
this.onParcelClick = on.pausable(parcelLayer, 'click', lang.hitch(function (e) {
var taxlotString = esriLang.substitute(e.graphic.attributes, "${TAXLOT}");
var ownerString = esriLang.substitute(e.graphic.attributes, "${OWNERNAME}");
if (ownerString.length > 24) ownerString = ownerString.substring(0, 24) + "...";
var attr = { "Taxlot": taxlotString };
var highlightGraphic = new Graphic(e.graphic.geometry, highlightSymbol, attr);
map.graphics.add(highlightGraphic);
})); However when I use a map service hosted on our own AGS, it does not. I can get a reference to the parcel layer using LayerInfos, but when I click on the map...nothing. Any ideas?
... View more
01-06-2017
05:29 PM
|
0
|
6
|
2005
|
|
POST
|
Thank you Xander for taking the time to look at this issue. Just also want to clarify: the original arcpy cursors, e.g. arcpy.UpdateCursor(), work just fine with annotation. FYI, they are not as fast as the new Data Access cursors, but are quite a bit faster than using the tool arcpy.CalculateField_management(). I've had the pleasure of timing all the above :rolleyes: Best regards, Adam
... View more
11-12-2013
12:01 PM
|
0
|
0
|
1749
|
|
POST
|
Xander, I also tried the same code on non-value domain fields such as FontSize, and it behaves the same. From what I can tell, the arcpy.da.updatecursor does not work with standard annotation attributes. If you want to test this on your own: 1. Create an Annotation FC in a geodatabase. 2. Edit and add a few anno features with Font Size = 12. Stop/Save edits and quit ArcMap 3. In Catalog, run the following code on this feature class:
import arcpy
fc = arcpy.GetParameterAsText(0)
fields = ('FontSize')
with arcpy.da.UpdateCursor(fc, fields) as cursor:
for row in cursor:
row[0] = 24 Now open the feature class in ArcMap again. If you select one of the annotations, the attribute list will say 'FontSize = 24', but it will still be displaying at 12, or whatever it was originally.
... View more
11-07-2013
11:42 AM
|
0
|
0
|
1749
|
|
POST
|
Xander, Thank you for the tip on the with statement. I'll use that from now on. Could you explain to me what you mean with "CVD"? The annotation properties HorizontalAlignment and VerticalAlignment behave at least like value domains. For example, the field HorizontalAlignment uses the domain HorizontalAlignment, which has the following coded values: 0 - Left 1 - Center 2 - Right 3 - Full When I copy these fields into place holder fields I use the following code: arcpy.AddField_management(TaxMapAnno,"VertAlign2","SHORT","","","","","","","VerticalAlignment")
arcpy.AddField_management(TaxMapAnno,"HorzAlign2","SHORT","","","","","","","HorizontalAlignment")
rows = arcpy.UpdateCursor(TaxMapAnno)
for row in rows:
row.VERTALIGN2 = row.VERTICALALIGNMENT
row.HORZALIGN2 = row.HORIZONTALALIGNMENT
rows.updateRow(row)
# Delete row and rows to remove lock on data
del row
del rows Then, when I calculate back the values from the place holder fields, I use the code we discussed above.
... View more
11-05-2013
08:04 AM
|
0
|
0
|
1749
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-11-2021 07:00 PM | |
| 1 | 06-17-2020 02:33 PM |
| Online Status |
Offline
|
| Date Last Visited |
02-14-2024
12:09 AM
|