AI OnAI Off
According to imagevault documentation a list property should declared as
[BackingType(typeof(PropertyMediaList))]
public virtual MediaReferenceList<MediaReference> MediaList { get; set; }
But PropertyMediaList & MediaReferenceList are not identified.
How do you declare a list of mediareferences on a page/block?
I just see that propertymedialist is no longer supported and IV recommends to use Media in a block
Changing this value hasn't affected anything that we have noticed since I started this thread in April 2021. It is correct that PropertyMediaList is not supported anymore but you know how it is with legacy projects.
We had to change the value to 0 since we are using Imagevault.Episerver package and MediaReferenceList<MediaReference> properties from Imagevault.Episerver are not loaded correctly (loading as null), if the underlying string property length is over the stringDelayedLoadThreshold.
So my question is, apart from the already mentioned performance drawbacks, is there any reason why we shouldn't set the property to 0? Will it affect any other areas of the system?
Some keywords for fellow developers who might run into this issue in the future as I spent couple of days with this issue but the following search phrases did not give any results: