Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

How to read custom list items from personal My Site Host into a different site collection

$
0
0

We have a custom list into "My Site Host" personal site for each user.

That custom list permit to user add personal information.

We want to show ítems that belong to user but in "another" site collection, in main site.

Personal My Site url is something like "https://site-my.domain.com"

Site collection is something like "https://site.domain.com"

Custom list is called "MyPersonalContacts"

When a user access to SharePoint personal site, see his Newsfeed and personal contacts ítems from custom list.

This same MyPersonalContacts list ítems must be showed en home site that belong to another site collection.

Question:

How to read this items from MyPersonalContacts from "https://site-my.domain.com" into "https://site.domain.com"?

 Issues discovered:

1.- Using ClientContext en JSOM doesn´t work when are from a different site collection, using permission in an App to Tenant doesn´t work

 We try this sample

http://www.sharepointnutsandbolts.com/2012/11/access-end-user-data-in-host-web-from.html

2.- REST API send "403:Forbidden", we have assign "X-RequestDigest" : formDigestValue in header, but dont' work.

From this simple: http://msdn.microsoft.com/en-us/library/jj164022.aspx

3.- SP.WebProxy and SP.WebRequestInfo with X-RequestDigest set have Access denied error (RemoteEndpoint was assigned)

This simple work only when our remote WebService don´t have user authentication, My Site Host, want to pass authentication, but "X-RequestDigest" was not worked

http://code.msdn.microsoft.com/office/SharePoint-2013-Get-data-705bdcd5/sourcecode?fileId=67632&pathId=1102161389

We have add endpoint and permission to Tenant in SharePoint hosted App

 Is some permission restriction using "My Site Host" site from a different site collection?


EfrenCA


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>