Hi all,
I've been trying to study the UrlSegmentProvider, the way paths are created, and the UrlProvider but I couldn't spot the answer to the following question and I'm hoping someone has some insight.
Are any of them position aware? For example if I wanted to have a page that has the URL
/a-page
But when it has children I want the segment to generate differently
/A-page-group/my-child-page for example,
Does the UrlSegmentProvider provider know if it is the last one in the call list or if it's somewhere else?
Sorry for bad spelling/grammar/explanation, I'm writing this on my phone while travelling. I hope the question makes sense.
m
Matt Wise
02/13/2025, 11:03 AM
Dont have Umbraco to hand but does IContentBase has its level or a way of checking for ansectors?
Matt Wise
02/13/2025, 11:04 AM
not that that helps with working out if it has children 😄