Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Search and Navigation Menu is not accessible in CMS12

Vote:
 

Was upgrading the CMS11 to CMS12. It was migrated to 12.7.1 in the beginning. And eventually it was later updated to 12.22.5. 

The issue is, the Search and Navigation is only visible and accessible from the original clone of the repo where I did the migration. 

When I take a new clone from the git repo, it does not show the Search and Navigation Menu. 

I'm not sure whether it has anything to do with the latest package update or whether it's due to any other issue. 

One thing I noticed is that `https://localhost:63241/EPiServer/Shell/epiproducts` does not return a proper name for the S & N item in the drop down. 

{
    "products": [
        {
            "id": "global_cms",
            "name": "CMS",
            "url": "/EPiServer/CMS/dashboard",
            "target": null,
            "children": null,
            "isAvailable": true,
            "iconName": null,
            "cssClass": null,
            "path": null,
            "isePiMenuItem": false
        },
        {
            "id": "global_find",
            "name": "",
            "url": "/EPiServer/Find/#manage",
            "target": null,
            "children": null,
            "isAvailable": true,
            "iconName": null,
            "cssClass": null,
            "path": null,
            "isePiMenuItem": false
        }
    ]
}

However, the original clone does return it as follows. 

{
    "products": [
        {
            "id": "global_cms",
            "name": "CMS",
            "url": "/EPiServer/CMS/dashboard",
            "target": null,
            "children": null,
            "isAvailable": true,
            "iconName": null,
            "cssClass": null,
            "path": null,
            "isePiMenuItem": false
        },
        {
            "id": "global_find",
            "name": "Search \u0026 Navigation",
            "url": "/EPiServer/Find/#manage",
            "target": null,
            "children": null,
            "isAvailable": true,
            "iconName": null,
            "cssClass": null,
            "path": null,
            "isePiMenuItem": false
        }
    ]
}

If i try to manually access the S & N page with the url https://localhost:63241/EPiServer/Find/#manage, it returns a 404 error. 

Any idea what's going on ? 

#308766
Edited, Sep 20, 2023 10:28
Vote:
 

Hi Huzaim,

In order to see Search and Navigation Menu your user needs to be in one of the folllowing roles:
      "WebAdmins",
      "Administrators",
      "SearchAdmins",
      "SearchEditors"

Maybe you're missing some role mapping?
Take a look here: https://docs.developers.optimizely.com/content-management-system/docs/virtual-roles

#308776
Sep 20, 2023 21:18
Huzaim - Sep 21, 2023 5:04
Actually, I checked those too.

Checked with two users who had SearchAdmins and also WebAdmins.

The issue is, it works for the same user in my original clone, but not when i clone it in a new repo.

This became an issue because, now my new team mates cannot clone from git and work.
Vote:
 

Figured it. Used WinMerge to compare my original clone and the new clone, and found out the Find.zip file was not available in the main web project. 

It was only added to one of the subprojects.

During the upgrade & refactoring, the reference must have got missed from the main web project, but somehow the original clone had the zip file under modules folder. 

Adding the Epi Find reference to the main web project solved the issue. 

#308820
Sep 21, 2023 7:08
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.