Topics: Writing modules
Jul 16, 2012 at 3:12 PM
Edited Jul 16, 2012 at 3:17 PM

protected override void Importing(FeaturedArticlesPart part, ImportContentContext context)
var count = context.Attribute(part.PartDefinition.Name, "Count");
 if (count != null)
 part.Count = Convert.ToInt32(count);
                cfg => cfg
                    .WithSetting("Stereotype", "Widget")

After an hour of trying to get some xml files loaded for my widget, i figured what i was missing but my question is why it worked? I couldn't get the widget inserted unless I added the IdentityPart...

Jul 16, 2012 at 8:00 PM

found something...