I'm using Courier 3.0.3 and Umbraco 7.5.7 writing a Courier resolver for my custom grid editor. I'm trying to use ExecutionContext.DatabasePersistence.GetUniqueIdFromMediaFile() as found here. No matter that I enter as an argument (e.g. ExecutionContext.DatabasePersistence.GetUniqueIdFromMediaFile("/1221/download-9.jpg")) I continue to get default(Guid).
Am I doing something wrong or does it just not work?
GetUniqueIdFromMediaFile returning Guid.Empty
I'm using Courier 3.0.3 and Umbraco 7.5.7 writing a Courier resolver for my custom grid editor. I'm trying to use
ExecutionContext.DatabasePersistence.GetUniqueIdFromMediaFile()
as found here. No matter that I enter as an argument (e.g.ExecutionContext.DatabasePersistence.GetUniqueIdFromMediaFile("/1221/download-9.jpg")
) I continue to getdefault(Guid)
.Am I doing something wrong or does it just not work?
is working on a reply...