I am writing my first module to design a custom content part. I followed instructions from available tutorial and I am able to create a new content item, edit its content including fields related to the content part.
However custom content of this conte part is ignored when I wnat to display the item (view mode).
Below is my code, I guess I made a mistake but I have not found where.
protected override DriverResult Display(
TestPart part, string displayType, dynamic shapeHelper)
UserPrincipal userAccount = _TestServices.GetAdUserAccount(part.Domain, part.Name);
ContentShapeResult shape = ContentShape("Parts_Test", () => shapeHelper.Parts_Test(
And I created a file Views/Parts/Test.cshtml