TigerMan
04/17/2024, 12:13 PMSebastiaan
04/17/2024, 12:21 PMIPublishedContent
unless you need data straight from the database and understand the performance hit this causes.
https://dev.to/mattbrailsford/converting-icontent-to-ipublishedcontent-in-umbraco-v8-3m7i#:~:text=The%20main%20difference%20with%20these,accessible%20and%20strongly%20typed%20manor.TigerMan
04/17/2024, 12:32 PMSebastiaan
04/17/2024, 12:52 PMIPublishedContent
. Show some code where you're stuck and we'll have a look.TigerMan
04/17/2024, 12:59 PMSebastiaan
04/17/2024, 1:04 PMPublishedContent
!
one tip, if you already have a content item, then content.Key
will give you the Guid
of that item. I don't know if that's the case for you but it might be useful.Sebastiaan
04/17/2024, 1:06 PM