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.

1
vote
2answers
489 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 ...
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 ...
4
votes
1answer
293 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 ...
1
vote
1answer
327 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 ...
1
vote
1answer
318 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 ...
1
vote
1answer
142 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
1answer
764 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 ...
0
votes
1answer
400 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
150 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
1answer
228 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 ?
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 ...
3
votes
0answers
182 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 ...
2
votes
0answers
85 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
2
votes
0answers
526 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-...
2
votes
0answers
215 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 ...
1
vote
0answers
45 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 ...
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
0answers
495 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
743 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
0answers
209 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 ...
0
votes
0answers
11 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
0answers
21 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 ...
0
votes
0answers
99 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 ...
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 ...
0
votes
0answers
361 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 ...