Yo!
Is it possible to get the parent pageID from a subpage on the page template?
Yo :-)
You have 2 options at least:
If you are inside a template or in a frontend context:
Dynamicweb.Frontend.PageView.Current().Page.Parent.ID;
Or if you are anywhere else and have a pageid:
Dynamicweb.Services.Pages.GetPage(123).Parent.ID;
You must be logged in to post in the forum