Hi,
I wanted to fetch the URL of image uploaded in CMS with Filename without using CMS property.
Kindly let me know the way to retrieve.
I am using EPiServer CMS 7.5
Thanks,
Manjeera T
Try something like this.
var mediaContent = _contentRepository.Get<IContent>(contentLink); var directDownloadUrl = mediaContent.DownloadUrl();
Hi,
I wanted to fetch the URL of image uploaded in CMS with Filename without using CMS property.
Kindly let me know the way to retrieve.
I am using EPiServer CMS 7.5
Thanks,
Manjeera T