MVC dynamic content widgets are displayed through templates for list and detail views. Each of the templates is built using different fields. The following article demonstrates how to change the view of a particular field for a single dynamic content MVC widget.
PREREQUISITES: You have downloaded the Traveling Agency Feather Sandbox.
@Start Address field@
@*Start Address field*@
> Address :</
@Model.Item.GetAddressString("Address", "#=Street# #=City# #=State# #=Country#")
@*End Address field*@
As a result you are redirected to the detail view of the widget and you can see your customized Address field.
Back To Top