Dynamics 365 Business central on-premise: why I can’t find my C/AL page on Search?

This seems to be a problem for many partners and developers that have start working with Dynamics 365 Business Central on-premise in these days and this is not actually well documented in my opinion.

I think that you already know that when developing a page with the AL language extension for Dynamics 365 Business Central in the cloud, you need to set ApplicationArea and UsageCategory properties in order to see your page in Search.

If you open a Dynamics NAV 2018 page with CSIDE, you don’t have these properties available, while if you open the same page with Dynamics 365 Business Central on-premise, now you have them available:


What happens now is that if you create a new page in CSIDE, set the ApplicationArea and UsageCategory properties and add that page to a Menusuite, often you can see the page in Windows Client search but not on the web client. Normally what happens is that you can see the page in web client search if you compile the Menusuite object, otherwise no.

If this problem occour, you have to build the search index (the Web Client search works differently now). To do that, simply open CSIDE, connect to your Dynamics 365 Business Central on-premise database and go to Tools|Build Object Search Index:


A process starts and after that you’ll have your C/AL objects in Search also in web client:


This process can be also performed via Powershell with the following command:

finsql.exe Command=buildobjectsearchindex, Servername=YourServer, Database=YourDatabase, Logfile=log.txt

Expect (hoping so) improvements on this topic…




Comment List