Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cross-domain]

A cross-domain solution (CDS) is a means of information assurance that provides the ability to manually or automatically access or transfer information between two or more differing security domains.

0
votes
0answers
9 views

Provider hosted app cross domain call throws 401 error

I created provider hosted app using sharepoint add-in template from visual studio 2017, I have followed all process required for provider hosted app like creating certificate and generating client id ...
0
votes
2answers
38 views

Front-end connection between two site-collections

I have two site collections on the same farm (on-prem SP 2016), but different domains (business.* and projects.*). I have full control on both sites. And yet, I cannot access one from the other. I ...
0
votes
2answers
2k views

Upload file to SharePoint Online from external application

is it possible or not Upload file to SharePoint Online from external application? I'm looking to use some JavaScript with Jquery or angular to upload files from a asp.net or from another online app ...
0
votes
0answers
19 views

Error while uploading a file in a provider hosted app using SP.RequestExecutor.js

I am trying to make cross domain calls and use REST API in SharePoint provider hosted app but to no luck. Below are few things i tried. I have tried implementing the following sample code to validate ...
2
votes
0answers
79 views

PnP JS cross domain calls?

Does PnPJS have a way to make a cross domain call to a site collection? Trying to get data from another SharePoint site that I believe is on another web app and a different domain. This is SP2013
0
votes
1answer
205 views

SharePoint Cross Domain REST Call from content Editor Web Part error

How to call cross domain rest call using SharePoint rest API 2013 posting data in SharePoint list from https://qa.sp.scb.org/en/whoweare/diversity/Pages/Admin.aspx To http://qa.sp.scb.org/fr/...
1
vote
1answer
145 views

SP 2013 - Calling list data from create-react-app on separate domain

We want to read and update SP2013 list data from our purely client-side javascript create-react-app project. Our production build files (html and js) can be hosted in the same domain on SharePoint (...
1
vote
2answers
472 views

REST API Get across web applications not working

I'm doing a very simple REST Get to a list of broadcast messages on the web application that serves as our "intranet portal" from the web application we use for team site collections. Both web ...
2
votes
0answers
511 views

Access-Control-Allow-Origin' not allowed access SharePoint Ajax call cross domain

I am trying to access cross domain service using ajax call in sharepoint. getting below error Failed to "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-...
4
votes
2answers
79 views

SharePoint Migration - Company aquisition

I work for a small company(abc) as a SharePoint(SP2010 version) Admin. Our company is aquired by a another company(xyz). Now we are looking for migrating the content from abc to xyz.I am looking for ...
1
vote
2answers
375 views

How to retrieve List item and display using CSOM from different domain?

We have different domain xyz.com and we can browse the contents of xyz.com sharepoint site using ADFS of abc.com using Single sign-on. The Problem is how to get access the sharepoint list in xyz.com ...
1
vote
1answer
2k views

How to allow authenticated cross-domain calls in an SP 2016 on-prem scenario?

In an on-premises scenario I need to call SharePoint 2016 REST services (via XHR) from JavaScript. The calls will originate from a host different from the SharePoint host. To allow these calls I need ...
2
votes
0answers
209 views

SP.RequestExecutor.js target origin does not match window origin

Hi I'm trying to load the SP request executor as per the Microsoft samples (inside a provided hosted app) SP2013 I have this error: Failed to execute 'postMessage' on 'DOMWindow': The target origin ...
2
votes
1answer
66 views

Problem loading images in IE when using SharePoint hosted Add-ins with JSOM cross domain library

I have a problem in displaying images in IE, I am developing a SharePoint hosted Add-in, the Lists which contains all the data and the images are hosted in the root site collection and the Add-in is ...
0
votes
0answers
98 views

SharePoint hosted client app part cross domain call

I created SharePoint hosted app which has client app part in it. Added that app part in host web which is trying to get data from another sharepoint application. I know how cross domain REST call ...
2
votes
2answers
3k views

Cross Domain REST Calls - Always 401 before 200 received

I am attempting to create a REST call across domains (we have different farms with different domains in our organization. I am not doing this through an app, but instead I am doing it via a CEWP ...
7
votes
1answer
368 views

CORS problems upload.aspx dialog

I'm trying to upload a file and to show the Upload.aspx dialog from an external web site. I have this code: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$...
1
vote
1answer
60 views

Cross domain, site collection migration

We need to migration a site collection is running on SharePoint foundation 2013 server to another domain. I m planing to take the backup of content database and restore it in new farm then attach it ...
1
vote
0answers
204 views

SharePoint 2013 with Calendar email?

I have connected a simple Calendar in SharePoint 2013 with my Outlook, however, I would like for it to accept incoming email and automatically accept meeting invitations to display on the SharePoint ...
1
vote
0answers
43 views

External app access to SharePoint farm

I am a new user of SharePoint and I am currently developing a SharePoint app. This app is an externally hosted app, so it is not on the same domain than the farm. In this app, I use the REST API to ...
0
votes
1answer
380 views

Trying to access a list from another web application, but getting an error 401 (Unauthorized)

I'm a Sharepoint beginner, I'm trying to access a list which is in another site collection under another web application in the same farm. I'm working with pnp core js library. new pnp.Web("http://...
0
votes
1answer
556 views

Cannot get list items from SharePoint 2010 into SharePoint 2016 cross domain cross farm SOAP or REST

I've been battling with this for a number of days and I just can't get to the bottom of it. I have a SharePoint 2010 publishing site and a SharePoint 2016 publishing site. Both on prem, but different ...
0
votes
1answer
30 views

Sharepoint 2013 post from hosted app returns -1

I created an Sharepoint-hosted application with angularjs. And ran into a problem, my post request returns status -1, but saves the data. How to fix it? My Lists posted on SPHostUrl. Here is my ...
3
votes
0answers
178 views

Get current page URL and Title from a Provider Hosted add-in Part?

I'm looking to see if there is a way to grab the current URL and title of the page that the add-in part is residing on. The add-in part is a Provider Hosted add-in with the main piece living outside ...
1
vote
0answers
54 views

Cross domain query *NON* SharePoint App senario

I've been racking my brain about this and I am hoping others may help. I have two host-name site collections http://site1 and http://site2. These are both within the same SharePoint Web Application ...
1
vote
1answer
317 views

App Web is not deployed for this app's request url

I'm trying to use the Cross-Domain Javascript Library to query the host page in a provider hosted app for SharePoint Online. When I'm executing a query with the cross-domain library I get the ...
0
votes
2answers
738 views

Call SharePoint Web Service from SharePoint Hosted App (JavaScript)

Is there any way to call the SharePoint Web Services in host web from JavaScript in a SharePoint hosted app web on O365? Have tried RequestExecutor however stuck with 415 - unsupported media type ...
1
vote
1answer
317 views

SP 2013 How to load PeoplePicker value into promise?

I'm using the SP PeoplePicker posted in this Microsoft article: https://msdn.microsoft.com/en-gb/library/office/jj713593.aspx But how can I load the user ID's into a promise? I'm not familiar with ...
5
votes
0answers
876 views

Post JSON ajax request with cors not working in IE10/Edge [closed]

Background:- I created a WCF service hosted in my local system IIS. Service exposes GET/POST method and cross domain enabled and can be accessed using https too. To make it accessible, self signed ...
1
vote
1answer
1k views

Access Host Web list inside SharePoint hosted app

I have SharePoint hosted app Now I need to get host web list data inside my hosted app. Is it possible to get data from host web? Suggest some help
0
votes
1answer
149 views

Get parent site calendar list data from SharePoint app

I am trying to get parent site calendar list data from SharePoint app page. I have used one function for getting data. THe function name is GetParentSiteListData(). I can call this function when ...
0
votes
1answer
51 views

I have a web part in my page and want to read some element from page that the web part is on

I get this error: Protocols, domains, and ports must match Iframe has this domain and protocol: http:// www-ec65nhg76pg.mysite.com/ and Parent has this domain and protocol: http:// www.mysite.com/ I ...
0
votes
0answers
41 views

Add item to a list in a SharePoint hosted app from another SharePoint hosted app

I have two SharePoint hosted apps - say SPApp1 and SPApp2. SPApp2 has a list TestList in appweb(NOT the hostweb). I want to add an item to that TestList from SPApp1. I will click a button from SPApp1 ...
2
votes
1answer
1k views

How to upload large files through SharePoint Rest API (Cross Domain Call)

I am trying to upload large files greater than 10MB(Ex: 40 MB) through SharePoint cross domain Rest API calls. I am able to upload files that are upto 10MB using the code below. But when it comes to ...
1
vote
1answer
52k views

Mixed content issue- Content must be served as HTTPS

I have deployed a web service on azure which perform some specific action and received a well defined ** HTTP URL ** .It accepts Json paramenter. I am trying to consume that service(http) from my ...
1
vote
1answer
562 views

Cross Domain Migration approach

I need to migrate a full-fledge intranet portal running on SP13, with lots of custom made applications, into another domain. With some 5TB data. I have gone the various blogs to get the approach but ...
4
votes
1answer
288 views

SP.WebProxy.invoke vs SP.RequestExecutor

What is the difference between SP.WebProxy.invoke vs SP.RequestExecutor. From what I have seen SP.WebProxy.invoke is used to call a completely external service most of the time, but I am struggling ...
6
votes
2answers
3k views

Can we access the sharepoint 2013 list from another web application using CSOM

I have to access the sharepoint 2013 list from the site under another web application in the same farm. Is it possible I tried it but, it is not happening. Both the web applications lie in the same ...
0
votes
1answer
219 views

how to obtain a list name through cross-domain CSOM

how to obtain the list name through cross-domain CSOM Provided that I have the list GUID. Any easy way for the conversion ?
1
vote
2answers
7k views

Cross Domain GET Request with SP.RequestExecutor

I'm trying to load data of a SharePoint App into my new SharePoint App and got some problems here. At first I tried to use to solve it with Ajax, but it doesn't worked and I've read that I could use ...
0
votes
0answers
359 views

Async webpart - the best approach to access outer data source from webpart

I've already tried to search the web but I always get to some point from which I don't know how to get further. I have a Visual web part which needs to load data from external sources (different ...
2
votes
2answers
552 views

SharePoint Online Rest, multilookup

I'm trying to fetch some data from the hostweb from my SharePoint hosted app. This is all going well, however I am having a problem when I try to fetch a multi lookup fields value. Below is my request:...
2
votes
2answers
3k views

SharePoint app cross domain call using javascript - object doesn't support property or method ProxyWebRequestExecutorFactory

I'm creating an SharePoint app (add-in?). Now I'd like to get data from a list in my host web using CSOM/JavaScript: var context = new SP.ClientContext(appWebUrl); var factory = new SP....
2
votes
1answer
1k views

Authentication in Remote App Using the Cross-Domain Library

What's a good authentication mechanism to use in my remote app that is accessed via cross-domain library (SP.RequestExecutor.js) javascript code in a publishing SharePoint page in my host web? ...
1
vote
1answer
141 views

Migrate users from SP2007 farm to SP2013 farm on new domain

I am working on a project, the requirement is to migrate the existing SharePoint 2007 farm (on Domain A) to SharePoint 2013 farm(on Domain B). Once SP2007 farm is migrated, the users should be able to ...
1
vote
0answers
494 views

Cross-Domain iframe loading issue in SharePoint Apps

I have one SharePoint-hosted app in which I am fetching all the Site Collection list from tenant using REST api call using following snippet: var spAppWebUrl = _spPageContextInfo.siteAbsoluteUrl; var ...
1
vote
0answers
736 views

On Premise SharePoint 2013 host web Rest api cross domain access from MySite

We are using the OOTB REST api to access data from the Host Web App using JavaScript. The MySite has been set up under a separate Web App following the recommendations of Microsoft. This site needs ...
1
vote
1answer
230 views

Why is CORS not used for cross-domain requests by default? [closed]

In order to be able to do cross-domain AJAX requests, SharePoint 2013 introduced SP.RequestExecutor.js library which uses a hidden iframe to do the request. This looks hacky (although I'm not sure if ...
0
votes
1answer
35 views

Not able to access sharepoint site from France

Our sharepoint site is not external facing site and was able to access through intranet by all France users and other countries users. But since Yesterday all french users have no access to the ...
1
vote
1answer
750 views

Cross-Domain Calls in SharePoint - Comparism

Basic Example mysite.mysharepoint.com has clientside code that wants to access a list on mysharepoint.com due to whatever reason. the Same-origin policy forbids this Possible Workarounds SSOM ...