Posts

Showing posts from May, 2013

Executing PowerShell script

Check your execution policy: PS> Get-ExecutionPolicy The execution policy is "Restricted" by default Change it to "Unrestricted" PS> Set-ExecutionPolicy Unrestricted Then you can run your script e.g. PS> .\scriptfile.ps1 Ref: http://ithelp.ithome.com.tw/question/10028377

ESRI ArcGIS JS API version 3.4 hiding the Dojo Dnd style "dojoDndAvatar"

For ArcGIS JS API v3.4, if you include "esri.css" in your project, then your Dojo Dnd Avatar (the floating hints while you're doing drag and drop) will be disappeared. Why? Because in "esri.css", esri.css got the following style:      .dojoDndAvatar {display: none;} God... What the hell ESRI guys are doing ?!