Field Renderers
⚠️
This documentation is still in progress and pages or sections might be missing or incomplete. If you have any questions, don't hesistate to contact us for support.
example.cshtml
<!-- Rendering for a "Image [DAM, Single file]" and "General Link [DAM]" field
(has the derivative specified in the field value) -->
@Html.Sitecore().Field("Logo")
example.cshtml
<!-- Rendering for a "Image [DAM, Single asset]" and "Image [DAM, Multi asset]" field
(specifies a specific derivative to render) -->
@Html.Sitecore().Field("Logo", new { derivative = "webimage" })
Example outputs