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 Updates
APA

Posts on LINQ to Fail | Sciencx (2009-01-15T00:00:00+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 ,<https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Programmatically moving Umbraco nodes. [Internet]. [Accessed ]. 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 . 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: ]
rf:citation
» Programmatically moving Umbraco nodes | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2009/01/15/programmatically-moving-umbraco-nodes/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.