More in this section
Forums / Developing with Sitefinity / How to use Pages data fields in a Feather MVC widget?

How to use Pages data fields in a Feather MVC widget?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Osman
    Osman avatar
    22 posts
    04 Oct 2010
    19 Apr 2017
    Link to this post


    I added several custom fields to the Pages:

    • HeaderTitle [Short text]
    • HeaderDescription [Long text]
    • HeaderImages [Related media (multiple images)]
    • HeaderVideo [Long text]

    And created an Feather MVC widget to render those fields on pages which has the widget placed on.

    Accessing to string fields (title, description, and video) is relatively straightforward. However, I am not sure how to display the images.

    Closest topic I could find was not much helpful though:


    Could you please provide an example for accessing those fields from an MVC widget?


    Sitefinity v10.0 6400 + Bootstrap Feather 





1 posts, 0 answered