Skip to main content

Notifications

Business Central forum
Answered

Page Extension - Field not Searchable/Sortable/Filterable

Posted on by 193
I wrote a Page Extension using Visual Studio Code, but when I click on the header of the field I added with the Extension, there's no option to sort or filter.  The values in this field also can't be searched using the search box at the top of the Page. 
 
 
I'd like to see these options when clicking on the header:
 
 
Is there any way to add this functionality to my Page Extension?  I've written other Page Extensions that don't have this issue - what's different about this one is the field that I am pulling in is coming from a different table (Warehouse Activity Line 5767) than the other data on the Page (Warehouse Activity Header 5766).
Categories:
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 61,112 Super User on at
    Page Extension - Field not Searchable/Sortable/Filterable
    Agree with TeddyH and Mohana, this should be a variable. If you want to filter or sort, you need to add a real field to the table.
     
     
    Hope this helps as well.
    Thanks.
    ZHU
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,442 User Group Leader on at
    Page Extension - Field not Searchable/Sortable/Filterable
    Hi,
     
    Is your issue resolved?
    If yes, mark the answers that helped you as verified.
     
    Best regards,
    Mohamed Amine MAHMOUDI
     
  • Verified answer
    TeddyH Profile Picture
    TeddyH 12,759 Super User on at
    Page Extension - Field not Searchable/Sortable/Filterable
    Most likely it's variable. A variable can be shown on field, but unable to be searched or filtered.
  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 45,274 Super User on at
    Page Extension - Field not Searchable/Sortable/Filterable
    It must a variable on the page and not a field.
    Create a field on table level and use the field on pageexpression.
     
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,442 User Group Leader on at
    Page Extension - Field not Searchable/Sortable/Filterable
    Hi @Agazziz,
     
    If you're using Flow field or varaible you can't search/sort/Filter.
     
     
    Best regards,
    Mohamed Amine MAHOUDI

Helpful resources

Quick Links

Contextual content recommendations & SharePoint Q&A

Instantly access relevant sales materials…

Beyond the DRA Cloud Label Printing

Explore cloud-based label printing within Dynamics 365…

HR Infrastructure Customer merge

Important considerations for HR Customer migrations…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,418 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,631 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,142

Featured topics

Product updates

Dynamics 365 release plans