Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Dear Umbraco Team
Im trying to update media item url. i can get the media Item umbracofile properties via
IMedia mediaItem = mediaService.GetById(1227); var mediaItemProp = mediaItem.Properties; foreach (var mediaProp in mediaItemProp) { if (mediaProp.Alias == "umbracoFile") { foreach (var value in mediaProp.Values) { <h1>@value.EditedValue</h1> } } }
but EditedValue is readonly. Is there another way to update media item url ?
Fixed by making use of mediaservices : )
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Change media item url
Dear Umbraco Team
Im trying to update media item url. i can get the media Item umbracofile properties via
but EditedValue is readonly. Is there another way to update media item url ?
Fixed by making use of mediaservices : )
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.