Re-enable paste in form input when disabled by website.
var allowPaste = function(e) {
e.stopImmediatePropagation();
console.log("Free the paste!")
return true;
};| """Transfer Ownership of App and Associated Web Maps and Feature Layers. | |
| Given an app item ID, transfer ownership of the app and all associated items. | |
| """ | |
| from arcgis.gis import * | |
| # Parameters |
| # Source and destination paths | |
| $sourcePath = "C:\source" | |
| $destinationPath = "C:\destination" | |
| # Get only the top-level folders | |
| $folders = Get-ChildItem -Path $sourcePath -Directory | |
| # Copy each folder | |
| foreach ($folder in $folders) { | |
| Copy-Item -Path $folder.FullName -Destination $destinationPath -Container |