[SharePoint 2010] Cross-Domain Proxy Page for Client-Side Scripts

Following my blog post about ASP.NET Proxy Pages for Client-Side Scripts I have created a SharePoint 2010 solution to add a proxy page to a SharePoint 2010 farm.

CodePlex Project – SharePoint Proxy Page

The SharePoint Proxy Page allows content from another source to be proxied on the SharePoint 2010 site. This allows for client-side scripts, such as jQuery and JavaScript, to make cross-domain requests through the proxy.

The SharePoint Proxy Page solution is a farm solution. Once deployed it will be available on any site in the farm using the following URL format:

For example:

The URL of the site to proxy should be URL encoded (meaning http%3A%2F%2Fwww.google.com instead of http://www.google.com).

Deploy the Solution

After downloading and unzipping the SharePointProxyPage.wsp solution file on the SharePoint server:

  1. Open SharePoint 2010 Management Shell (PowerShell) as Administrator

  2. Add the solution:

  3. Deploy the solution:

That’s it. Hope someone finds this useful.

3 Comments

  1. This is nice post which I was awaiting for such an article and I have
    gained some useful information from this site. Thanks for sharing
    this information.

    Reply
  2. This page is very informative and fun to read. I appreciated what you
    have done here. I enjoyed every little bit part of it. I am always
    searching for informative information like this. Thanks for sharing
    with us.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Pin It on Pinterest

Share This