More in this section
Forums / Developing with Sitefinity / Custom page fields

Custom page fields

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.
2 posts, 0 answered
  1. Tom
    Tom avatar
    2 posts
    Registered:
    24 Feb 2016
    18 Nov 2016
    Link to this post

    I am building a custom navigation MVC widget in which I'm trying to filter on a custom field that I've added to the pages.  Below is how I'm  selecting the pages to be included in the custom nav, but how do I add a filter for the custom field?

    var pageManager = PageManager.GetManager();       

    var pages = pageManager.GetPageNodes().Where(n => n.ShowInNavigation == true && n.ApprovalWorkflowState == "Published" );

     

    edit: This is for version 9.2

  2. Tom
    Tom avatar
    2 posts
    Registered:
    24 Feb 2016
    23 Nov 2016
    Link to this post
    Anyone??
2 posts, 0 answered