{"title":"Making Pages and Reports Searchable in the Web client After an Upgrade","url":"https://jonas-paprotka.de/docs/dev-itpro/upgrade/upgrade-pages-report-for-search/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-pages-report-for-search, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-pages-report-for-search","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Explains how to make pages and reports searchable in the Web Client after an upgrade to the Business Central platform from Dynamics NAV.","date":"2021-04-01","meta":{"topic":"upgrade-and-migration-article"},"outline":[{"level":1,"title":"Making Pages and Reports Searchable in the Web client After an Upgrade","slug":"making-pages-and-reports-searchable-in-the-web-client-after-an-upgrade","at":0,"chars":3490},{"level":2,"title":"Run the Set-ObjectPropertiesFromMenuSuite cmdlet","slug":"run-the-set-objectpropertiesfrommenusuite-cmdlet","at":1670,"chars":1714},{"level":2,"title":"Related information","slug":"related-information","at":3384,"chars":106}],"text":"# Making Pages and Reports Searchable in the Web client After an Upgrade\nIn Dynamics NAV, pages and reports were searchable in the Web client only if they were included in the MenuSuite. In Business Central, instead using the MenuSuite, pages and reports are made searchable by setting properties on the page and report objects themselves, specifically the ../developer/properties/devenv-usagecategory-property property, and optionally the ../developer/properties/devenv-accessbypermission-property and ../developer/properties/devenv-applicationarea-property properties. The UsageCategory property corresponds to the DepartmentCategory property on MenuSuite items linked to page and report objects.\nAs a result of this change, after an upgrade from Dynamics NAV to Business Central, pages and reports that were previously searchable in the client, will no longer be searchable unless you set the required object properties.\nYou can set the properties of pages and reports manually (see Adding Pages and Reports to Search<../developer/devenv-al-menusuite-functionality>). Alternatively, the Business Central installation media (DVD) includes a Windows PowerShell scripted module called TransitionMenuSuiteObjectsForSearch.psm1 that includes the Set-ObjectPropertiesFromMenuSuite. The cmdlet saves each page and report included in the MenuSuite as a modified object text file that sets the UsageCategory, AccessByPermissions, and ApplicationArea properties to match the DepartmentCategory, AccessByPermissions, and ApplicationArea properties in the MenuSuite. The modified objects can then be imported into the database, either manually or automatically using the cmdlet.\n## Run the Set-ObjectPropertiesFromMenuSuite cmdlet\n1. Run Windows PowerShell as an administrator.\n2. At the command prompt, import the TransitionMenuSuiteObjectsForSearch.psm1 module.\n On the installation media (DVD), the module is in the WindowsPowerShellScripts\\WebSearch folder.\n For example, run the following command:\n ```\n import-module -Name c:\\dvd\\WindowsPowerShellScripts\\WebSearch\\TransitionMenuSuiteObjectsForSearch.psm1\n\n ```\n3. The `Set-ObjectPropertiesFromMenuSuite` cmdlet has several parameters that you can set to change its behavior. To get help on this cmdlet, run the following command:\n ```\n get-help Set-ObjectPropertiesFromMenuSuite -full\n ```\n3. Run the `Set-ObjectPropertiesFromMenuSuite` cmdlet.\n For example:\n ```\n Set-ObjectPropertiesFromMenuSuite -RoleTailoredClientFolder \"C:\\Program Files (x86)\\Microsoft\n Dynamics NAV\\130\\RoleTailored Client\" -DataBaseName \"MySolutionDatabase\" -OutPutFolder \"C:\\temp\"\n ```\n In this example, the Dynamics NAV Development Environment (finsql.exe) installation path is `C:\\Program Files (x86)\\Microsoft\n Dynamics NAV\\130\\RoleTailored Client`, the database is named `MyDatabase` and modified page and report objects are stored to the folder `C:\\temp`.\n4. If the cmdlet was not set up to import the modified page and report object text files, import them from the output folder into the database.\n See https://learn.microsoft.com/dynamics-nav/how-to--import-objects.\n5. Compile the imported objects.\n See https://learn.microsoft.com/dynamics-nav/compiling-objects.\n6. In the Tools menu of the Dynamics NAV Development Environment, select Build Object Search Index.\n The pages and reports will not be searchable until you run Build Object Search Index.\n## Related information\nConverting a Database - Technical Upgrade<converting-a-database>\nupgrading-the-data"}