Hi
I'm new to K12 SP.
Is it possible in K12 SP to get the current document node id from within a section properties class. I have a section where I display adverts but I need to check the current item to see if they should be displayed or not.
Cheers James
You should be able to call GetPage() to get the section's current page, then reference the NodeID.
GetPage()
https://docs.kentico.com/k12sp/developing-websites/page-builder-development/developing-page-builder-sections
Hi Trevor
Thanks for pointing me in the right direction.
Please, sign in to be able to submit a new answer.