is there a way to prevent nodes without public access to appear in the xml output? With something like (umbraco.library:IsProtected(@id, @path) = false() or umbraco.library:IsLoggedOn()) maybe.
Sorry I haven't seen this post. Yes, It should be very easy to add that, though I'd say that the XML Dump should only be available to the developer and not on a public site. Ideally, you'd remove the functionality (by removing the template or at least the macro in it) when your site is ready for public launch.
I'm working on some kind of built-in switch, so it will be easier to toggle XML Dump on/off for debugging purposes, just by flicking a checkbox in the backend.
I just released XMLDump version 0.8, which requires you to add a property somewhere above the node you're trying to output, so it's a matter of unchecking a box to disable XMLDump entirely.
protected pages
Hi,
is there a way to prevent nodes without public access to appear in the xml output? With something like (umbraco.library:IsProtected(@id, @path) = false() or umbraco.library:IsLoggedOn()) maybe.
Thanks!
Hi bfi,
Sorry I haven't seen this post. Yes, It should be very easy to add that, though I'd say that the XML Dump should only be available to the developer and not on a public site. Ideally, you'd remove the functionality (by removing the template or at least the macro in it) when your site is ready for public launch.
I'm working on some kind of built-in switch, so it will be easier to toggle XML Dump on/off for debugging purposes, just by flicking a checkbox in the backend.
/Chriztian
Hi bfi,
I just released XMLDump version 0.8, which requires you to add a property somewhere above the node you're trying to output, so it's a matter of unchecking a box to disable XMLDump entirely.
/Chriztian
is working on a reply...