Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kim Grandgagnage 63 posts 87 karma points
    Oct 05, 2012 @ 11:55
    Kim Grandgagnage
    0

    How to loop through umbraco Nodes from within Windows Service?

    Hi,

    I have to create an XML file while looping through certain nodes in the umbraco backend (from a specific doctype).

    I have a Windows Service which has to run every day to make this XML file.

    I thought I could use the /umbraco/webservice.asmx GetNode() method for this, but this doesn't display it's childnodes. How can I achieve this?

    Thanks in advance!

    grts,

    Kim

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 07, 2012 @ 15:47
    Jeroen Breuer
    0

    It's better to write your own webservice which does this. The uMobile package also does this: http://our.umbraco.org/projects/backoffice-extensions/umobile. You can get the source here. In there you can find examples on how create your own webservice and get the nodes which you need.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft