SharePoint Embedded Page: Promoted Links Error

Chris Bridge 21 Reputation points
2020-10-16T04:19:48.667+00:00

After a migration to 2016, site pages with promoted links started throwing errors. There's no problem when accessing the pages directly; however, when you access the page as an embedded page through another site, it's broken. There's no issue with regular list views displaying.

This error is displayed: TypeError: Cannot read property 'UseClientSideTheming' of undefined

32750-image.png

Please let me know if any other information is needed. Any help would greatly be appreciated.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,422 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,232 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,633 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChelseaWu-MSFT 6,331 Reputation points
    2020-10-16T07:24:20.747+00:00

    Are you using the Promoted Links list as web part on a page? How do you embed the links on another site page?
    Do you have trouble if you use the iframe mark up in embed code on page? Please explain a bit further if you are using a different method for the promoted links and the embedding.

    32901-image.png

    It seems that you have some custom code on the embed page (using the property UseClientSideTheming) that fails to render.
    Try the embed code on another page that does not have customization and see if you can reproduce this issue.

    See a post with similar error here: Uncaught TypeError: Cannot read property 'get_current' of undefined.


    If an Answer 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

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.