Hi @JenniferSherry. Thanks for leaving a question!
I have two responses:
- The first is relevant if you must have your Sharepoint pages appear in an embedded fashion on your Hub site.
- The second is relevant if your pages don't need to embed, and if you're ok with those pages opening directly to your Sharepoint site.
First
In order for the document link to embed in this page, the referenced URL (your Sharepoint site) must be configured to be loaded in other places on the web.
When I try to create a document link to your Sharepoint site, I have the same UI error on my Hub site. Under the hood of the browser, I see this error message:
Access to XMLHttpRequest at 'https://cityofboulder.sharepoint.com/' from origin 'SITE' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
It looks like through a change of your Sharepoint site settings, you can get this to work. I think you'd need to work with the person who manages your Sharepoint to allow the URL of your OSMP Hub site using cross origin resource sharing (CORS). This page, which references the specific error, might be a starting point for you.
Second
If you are satisfied with your document link simply redirecting to your Sharepoint site, make the following change in your Hub settings:
Go to edit your site. In the Settings, under Interactions, toggle-off Embedded Links. With this setting off, your document links should open your Sharepoint URLs directly, and not within your Hub site.