Hi, I've created a document type that, along with other properties (single instance), that contains a list of media items from the multi media picker property. When I try pulling data from that specific field, I keep running into issues.
I'd like to loop through the times that are in that property, but when I do the @foreach on it, it says it doesn't contain the public instance definition of GetENumerator. I tried casting it as an INumerator property but it's not leeting me (
How to pull in multi media picker items
Hi, I've created a document type that, along with other properties (single instance), that contains a list of media items from the multi media picker property. When I try pulling data from that specific field, I keep running into issues.
I'd like to loop through the times that are in that property, but when I do the @foreach on it, it says it doesn't contain the public instance definition of GetENumerator. I tried casting it as an INumerator property but it's not leeting me (
Here's what I'm doing:
I've also tried casting it as an IENumerator field but no luck:
How do I go making a collection of images from a single multi-image picker field to loop through via Razor in the View? TIA!
I figured it out - found some documentation that referenced to pulling data from a multi-picker property:
Hopefully this will help someone who is as equally as lost as me.
is working on a reply...