Wednesday, March 6, 2013

Configure New URL for Existing SharePoint site

Introduction

This procedure walks you through the steps for configuring a more user-friendly URL for an existing SharePoint 2010 site URL having a port number.  For example, if you have a site that has a URL plus a port number, such as http://spserver01:5456, and you would like your users to be able to enter a simple URL, such as http://support.  Accomplishing this objective is easy and will involve making a few configuration changes on your DNS and SharePoint servers.  The following procedure shows you how.

In this procedure, the SharePoint 2010 server host is spserver01, with IP 192.168.0.61.  A new site collection, http://spserver01:5456 has been created and is called support. This procedure will enable your users to simple enter http://support in their browsers in order to connect to this new site collection.

Procedure

1) Add new DNS Host entry

Start DNS Manager

Double-click the DNS server name to open the domain tree.


Right-click the appropriate domain, and then select New Host (A or AAAA)...


Enter Support for the host and IP address 192.168.0.61.


Click Add Host, and then exit DNS Manager

At this point, you can enter the URL http://Support in a browser and navigate to it.  The site collection that you'll be navigated to, however, will be the default site collection at port 80 of the SharePoint 2010 server.  Try it, and you'll see.  For example, in the figure below, note the URL in the address bar has "support", but the name of the site is that for the default site at port 80.


To be navigated to the desired site collection, you need to inform SharePoint that when it receives requests to http://Support, it needs to respond with the site collection at http://spserver01:5456 and not the site collection at http://spserver01.  This is accomplished by configuring an alternate access mapping for http://spserver01:5456.

2) Configure Alternate Access Mapping

Open Central Administration

Go CA > Application Management > Alternate Access Mappings


From the Alternate Access Mapping Collection (look to the right to see the link, and then click it), look for the desired site collection, in this case, SharePoint - 5456.


Click the link.  Clicking a listed link automatically closes the popup.

Now, back on the Alternate Access Mappings page, click the Edit Public URLs link

In the Intranet field, enter the new URL that you entered previously in DNS manager


Now click OK.  This returns you to the Alternate Access Mappings page, now featuring your new mapping.


That's it.  Your done.  Now test.

3) Test

Open a browser on a machine in the target domain (in this case, alstechtips.com), and then connect to http://support

 Notes
  • Configuring new and simpler URLs can break some web part functionality. 

References

Deploying Spotfire through SharePoint 2010

Introduction

Microsoft SharePoint 2010 is an excellent platform for web development.  TIBCO Spotfire is an excellent platform for visualization.  Merging these two platforms can be accomplished using the Page Viewer web part.  This procedure shows you how in just three steps..

Procedure

1) In SharePoint 2010, create a new page, and then drop the Page Viewer web part onto this page.

2) In Spotfire, create the web player as desired and store in a convenient library folder.  Right-click this player in order to save its URL to the copy board.

3) Go back to the Page Viewer web part and configure its ContentLink property to point to the URL you copied; configure the web part to the desired dimensions, save these changes, and then view the page.

Summary

The Page Viewer web part functions essentially as an iFrame, enabling one web page to port another, but with the ease and configurability of a web part.

Notes
  • The Site Aggregator web part, discussed in one of the references (2) below, only works for MySite pages and thus may not be convenient to your needs.
  • The Web Capture web part, also discussed in (2), is no longer supported in SharePoint 2010.

References
  1. TIBCO Spotfire
  2. Deploying Spotfire in a SharePoint Web Part (SharePoint 2007)
  3. SharePoint List Web Service GetListItems
  4. Using Web Services to Load Lists from Sharepoint into Spotfire
  5. SharePoint Connector enhancement in Spotfire
  6. How to Control Spotfire Web Player – Part 1