Programmatically moving Umbraco nodes

The other month Ruben did a post on using the new Umbraco event model and today I had to solve a problem which it seemed like it would be the best way.
I needed to have a document, when published, moved into a new folder (as we’re using Umbraco to…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

The other month Ruben did a post on using the new Umbraco event model and today I had to solve a problem which it seemed like it would be the best way. I needed to have a document, when published, moved into a new folder (as we're using Umbraco to store some data used for some non-browsable data). This can be achieved with the old IActionHandler.Execute method, but it was a little problematic, you needed to have some way to check if it was running because you moved and republished, or the initial publish.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-12-09T06:10:02+00:00) » Programmatically moving Umbraco nodes. Retrieved from https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/.
MLA
" » Programmatically moving Umbraco nodes." Posts on LINQ to Fail | Sciencx - Thursday January 15, 2009, https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/
HARVARD
Posts on LINQ to Fail | Sciencx Thursday January 15, 2009 » Programmatically moving Umbraco nodes., viewed 2022-12-09T06:10:02+00:00,<https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Programmatically moving Umbraco nodes. [Internet]. [Accessed 2022-12-09T06:10:02+00:00]. Available from: https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/
CHICAGO
" » Programmatically moving Umbraco nodes." Posts on LINQ to Fail | Sciencx - Accessed 2022-12-09T06:10:02+00:00. https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/
IEEE
" » Programmatically moving Umbraco nodes." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/. [Accessed: 2022-12-09T06:10:02+00:00]
rf:citation
» Programmatically moving Umbraco nodes | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/ | 2022-12-09T06:10:02+00:00
https://github.com/addpipe/simple-recorderjs-demo