How can I get a media object from a feature object? Given a feature object, I would like to access the media properties like file url, etc
How can I get a media object from a feature object? Given a feature object, I would like to access the media properties like file url, etc
You use the media API to retrieve it by Content Id which is on the feature object.
You use the media API to retrieve it by Content Id which is on the feature object.
But a Feature object does not expose a Content Id. It exposes a Content string, but not Content Id. See community.telligent.com/.../feature-script-api-type
Its referencing a legacy object. feature.Content.ContentId