Dynamics 365 Business Central: adding fields to the new Modern Search engine via AL code.


The article discusses the new Modern Search feature introduced in Dynamics 365 Business Central 2024 Wave 2 release. The feature uses full-text search from Azure SQL and applies to standard list pages, lookup pages, and company data search. AL developers can control the indexed fields by using the field's OptimizeForTextSearch property. The BC Synchronization engine generates the full-text search index, and it is regenerated if the indexed fields are changed. The best field types to add to a full-text index are primary keys and text-based fields that identify a record. The SetFilter method has a new syntax for calling full-text search from AL.


Article 6m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time