How to use Pages data fields in a Feather MVC widget? - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

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

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

    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: www.sitefinity.com/.../use-image-from-a-page-custom-field-in-navigation-widget

     

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

     

    Sitefinity v10.0 6400 + Bootstrap Feather 

     

     

    Thanks,

    Osman