iterating through fields in Dynamic module contnet ?
I am new to Sitefinity and am trying to access a field defined as a custom module type; based on examples it looks like <DynamicContent>.GetValue should do it .... but in my case "promo" (below) does not have a GetValue method
Any help would be appreciated
var something = DynamicModuleManager.GetDataItems(promoType).Where("Title = \"HH3 3013\"");
foreach (DynamicContent promo in something)
private readonly Type promoType = TypeResolutionService.ResolveType("Telerik.Sitefinity.DynamicTypes.Model.Promos.Promo");
private DynamicModuleManager dynamicModuleManager;
Hello,
Can you please check and ensure that there is included the following reference:
using
Telerik.Sitefinity.Model;
Thanks