This is my View:

     @Html.Sitecore().Field("Image Field")

When I add this rendering to my Page in Sitecore SXA, it works perfectly, allowing the user to click on the image and edit it.

If I drop this rendering onto a tab, it stops working. Can anyone help me fix this please?


I fixed it with this:

@Html.Sitecore().Field(PracticeAreas.Products.ProductImage, Sitecore.Context.Item)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.