-
How could I read document metadata property, when using OnAfterConversionToEntity event. I am looking for something along this line and could not find any close by example in the documentation:
|
Beta Was this translation helpful? Give feedback.
Answered by
ppekrol
Nov 5, 2021
Replies: 1 comment
-
Have you tried doing if (args.Document.TryGet("@metadata", out BlittableJsonReaderObject metadata))
{
if (metadata.TryGet("@last-modified", out DateTime lastModified))
{
// logic here
}
} ? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mic2zar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you tried doing
?