c# - How to get startPage/rootPage using EPIServer WebService -
i've tried start or root node using episerver webservice. when programming in epi do
pagereference parent = pagereference.startpage;
but when using webservice gets little trickier since doesn't work
pagestoreservice.pagereference.?
how do start or root node using web service? thanks.
not sure if pagestoreservice can provide information, quite roll own service obtain start page, , other information you'd need
something might work (it's untested!)
[webservice(namespace=http://yournamespace/")] public class pagereferenceservice : system.web.services.webservice { [webmethod()] public pagereference getstartpage() { return pagereference.startpage; } }