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 with C/AL, 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 occours, 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… 🙂

P.S. this is related to C/AL objects. If you create extensions and publish them, the process of building the search index is automatically performed.


  1. Thanks for making us aware of this. I haven’t tested it, but I would imagine it would be the same thing for reports? Don’t they need to have the usage category and application area set as well, for showing up?
    That’s just another task to remember when upgrading from NAV to BC on-premise! Always set the usage category and application area to all your pages (AND reports?) included menusuites. Would be great with a Powershell script, which could do that for you!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.