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 60,993 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,429 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,268 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,429 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

Upcoming TechTalk: Copilot Capabilities…

Review the Copilot features that are currently available in Dynamics 365 Finance…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 223,394 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans