Top navigation loaded from Term Store not showing for user having Read only permissions in classic search page

Vivek Gupta 126 Reputation points
2020-09-06T05:40:53.757+00:00

Hi,

For Administrator, the top navigation from Term Store is successfully shown in search page in Enterprise Search Center subsite. But, for user having Read only permissions, the the top navigation from Term Store is not shown in
the search page & error "Blocked a frame with origin "https://webshell.suite.office.com" from accessing a cross-origin frame" is shown in console window.

I am using custom Javascript in Script Editor & have loaded the files mentioned in the attached text file.

I am using the JS methods mentioned in https://www.habaneroconsulting.com/stories/insights/2014/returning-a-sharepoint-2013-termset-in-a-tree-structure-using-javascript to load the Term Set from the Term Store.

Please let me know the solution for this issue.

Thanks.

22843-cssandjs.txt

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,585 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points
    2020-09-08T06:04:46.87+00:00

    After you add the code, you need to check in and publish the default page.

    23213-image.png
    23107-image.png
    My test result:
    23069-image.png
    23150-image.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Vivek Gupta 126 Reputation points
    2020-09-22T09:55:15.33+00:00

    Using Term Store Management Tool, I gave contribute permission to the appropriate AD Groups. Now, the users from these AD Groups can view the Top navigation loaded from the Term Store.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.