-
Notifications
You must be signed in to change notification settings - Fork 35
Unique Id for DetachedPublishedContent #7
Comments
We should be able to do this by populating the nodes Parent / ParentId fields, and the SortOrder property. These are currently set to default values. Would that suffice? |
that'd be ideal for my circumstances 👍 but if someone were to use a NC within an NC then the SortOrder int wouldn't be able to represent it's true index - guess that's a real edge case tho |
that's more an issue of Level, which we should still be able to handle by settings the Level field based on it's parent's value (+1). It wouldn't be a true level in sense of true nodes, but it should suffice in being able to see it's location, relative to it's parent. Funny this should come up here, as the same discussion is happening on the DTGE issue tracker :) |
ooh, yes, re-purpose Level to indicate the current level in Umbraco + levels of NC inception (also if DetachedPublishedContent wasn't internal, it'd be easy to test if an obj was of this specific type) |
would you like a PR for this ? |
It you fancy giving it a go, by all means :) |
Closing this issue, discussion an continue on PR #8 |
Being able to identify the host (top / real) IPublishedContent and the index (which could be a tree!) would be really helpful
The text was updated successfully, but these errors were encountered: