/*First you need the item you want the renderings from. In this case lets use the current Item */ Sitecore.Data.Items.Item item = Sitecore.Context.Item; /*We also need the device, so we get the renderings attached to that. */ Sitecore.Data.Items.DeviceItem device = Sitecore.Context.Device; /*This is how you get the rendering */ Sitecore.Layouts.RenderingReference[] renderings = item.Visualization.GetRenderings(device, true);




Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!