I'm using Umbraco 4.9.1 and I've installed the uSync for umbraco4 and had tried to create a new Doc Type to see if it saved everything into the uSync folder at root.
The issue is nothing happen, I've tried to change the uSyncSettings.config with "write=true". But still nothing happens. My uSync settings as follow
Try setting attach to false in the config - there is a bit of code in usync that basically says if the version is less that 4.11.5 then it will save to disk every time - which I found was overwriting any files that I was wanting to be deployed. Setting attach to false gets round this.
I'm not sure what version it happened in, but umbraco event handlers used to inherit from ApplicationBase, but in more recent versions (again, not sure i this was the case by 4.9), it has changed and uSync now implements IApplicationEventHandler. This may mean that it may not work with 4.9 without modification. I made a modified version to work with 4.7.2 - all it takes is changing of namespaces etc. and a recompile.
EDIT: on re-reading your post, I see you aren't trying to deploy, just to create the xml files in the first place, in this case my money is on the 2nd suggestion above.
Umbraco 4.9.1
Hi,
I'm using Umbraco 4.9.1 and I've installed the uSync for umbraco4 and had tried to create a new Doc Type to see if it saved everything into the uSync folder at root.
The issue is nothing happen, I've tried to change the uSyncSettings.config with "write=true". But still nothing happens. My uSync settings as follow
<usync read="true" write="true" attach="true" folder="~/uSync/" archive="~/uSync.Archive" versions="true" preserve="false">
Any help will be much appreciated.
Thanks
It could be a number of things:
I think it's number 2 - uSync uses IApplicationHander from memory that only works from v 4.10 onwards (i think)
Ic. I'll try to upgrade the Umbraco version then. thanks
Any results on getting it to work on 4.9? Or did you just upgrade?
is working on a reply...