Module B.FancyFeature
. If I don't add Module B as a package reference in my startup project, Module B.FancyFeature
doesn't show up in the features list, even if it is listed as a package reference in the Module A .csproj, and Module A has the specific feature I'm using (Module B.FancyFeature
) listed as a dependency. Make sense?
Is there a way in OC to get the html of a content item using a specific displayType in a controller?
I tried this:
var productShape = await _contentItemDisplayManager.BuildDisplayAsync(product, this, "Detail");
var productHtml = await displayHelper.ShapeExecuteAsync(productShape);
This works, but productHtml also includes the theme html, which I do not want. Any ideas?
just use the shape you created
.