jim
03/03/2025, 1:38 PMJemayn
03/03/2025, 1:45 PM/node.Name.ToUrlSegment(_shortStringHelper)
which will give you the name of the current node as an url safe string using the same string extension Umbraco uses themselves.
To edit the links box: https://docs.umbraco.com/umbraco-cms/reference/notifications/editormodel-notifications/customizing-the-links-boxjim
03/03/2025, 1:50 PMBalázs Kerper
03/03/2025, 2:26 PMPubilshedContentCache
actually does contain the last saved version as well, so it can be used to get data for previewing a certain node, that is what the ApiPublishedContentCache
is using as well (https://github.com/umbraco/Umbraco-CMS/blob/ac3b17b3904f80ca7ef6f19909f92b17379b8176/src/Umbraco.Core/DeliveryApi/ApiPublishedContentCache.cs#L96). So to get an IPublishedContent
for the latest saved version is basically half way there to get a URL as well, but not something we specifically tried 🙂