Excerpt from: iTechnologyDesign
|
 |
| December 09, 2008 | | Keeping the ULR path to SharePoint Sites and Lists Tidy | Here's a quick SharePoint tip. If you follow this hint your URL path to objects will be cleaner and easier to understand. The URL path will also be more easily accessible when accessing resources either directly or by link.
First, understanding the problem:
Assume you have a SharePoint named intranet, and within this you have a site "sales". Your URL to the root of sales might be http://intranet/sales. Now assume you create a list within the sales site that will contain regional sales managers. As you create this list you name the list "Regional Sales Managers".
After creating the list, now open the list, notice the URL address...
http://intranet/sales/Regional%20Sales%20Managers
As you can see, the spaces between regional and sales and sales and managers translate to %20 on the URL line.
Now, try this. Create the same list, but name it "RegionalSalesManagers". After saving the list and creating it edit the title, now change the title to "Regional Sales Managers".
What you'll find is that the url is: http://intranet/Sales/RegionalSalesManagers
But, when you look inside the list, or on the sales site page the name of the list is displayed as "Regional Sales Managers".
Through this process you get to have your cake and eat it. By naming it with one word then changing it, this foces SharePoint to use the original name to establish the list object, so the URL will be one word, but then changing the name causes the display name to be properly shown.
iTechnology Design specializes in design, development, installation, and ongoing support and maintenance of SharePoint solutions.
| | |
|
|