Problems with strongly typed models
# help-with-umbraco


10/18/2023, 1:42 PM
I am trying to reference a property videoPreviewImage which is in the Document type and using source code models builder I can see it. However when referencing it directly it doesn't exist, and exposing the properties using Model.GetType().GetProperties() reveals they are not present in the Model (although they exist in the properties collection within the model and are accessible through .Value("videoPreviewImage ") ). I have tried clearing the cache/temp folder and switching to inmemory models builder but they are still not appearing. Also I have added another property "anotherProperty" which also hasn't appeared. This is using v12.2.