How to connect two SharePoint on-premises installations inside the same domain using JSOM?

New Contributor

I have two SharePoint installations in the same domain.


Installation 1:

Installation 2:


Also, they share the users. I would like to read a list from Installation 1 in a Installation 2 web part.

I tried using JSOM with new SP.Context(siteUrl) and SP.RequestExecutor.js, but I got this error message:


Access to XMLHttpRequest at from origin has been blocked by CORS policy

0 Replies