Work with external data in SharePoint
You can use the cross-domain library to access data in your remote web application if you provide a custom proxy page that is hosted in the remote infrastructure. As the developer, you are responsible for implementing the custom proxy page, and you have to deal with custom logic such as the authentication mechanism, if there is one, to the remote application. Use the cross-domain library if you want the communication between the remote data source and the SharePoint page to occur at the client level.
For details about how to use the library in this way, see Create a custom proxy page for the cross-domain library in SharePoint.
Use the SharePoint web proxy to access external data
When you use the web proxy, you issue the initial request to SharePoint. In turn, SharePoint requests the data to the specified endpoint and forwards the response back to your page. Use the web proxy when you want the communication between the remote data source and the SharePoint page to occur at the server level.
For details about how to use the proxy, see Query a remote service using the web proxy in SharePoint.
- Secure data access and client object models for SharePoint Add-ins
- Access SharePoint data from add-ins using the cross-domain library
- Access external data with REST in SharePoint
- Authorization and authentication of SharePoint Add-ins
- Use OData query operations in SharePoint REST requests
- Data storage in SharePoint Add-ins
- Create UX components in SharePoint
- Develop SharePoint Add-ins