Tuesday, August 25, 2009

Changing the link on the top of a web part

Found a new SharePoint trick the other day and figured I should share.

When you insert a web part into your SharePoint site, the title of web part is formatted to be a hyperlink to the list, document library, or other SharePoint item that you used for the web part. Some web parts don't have links by default but all web parts can have it. You can also customize where that link points to.

For example, you have a confogired a filtered view of the list to use as a web part. By default, the title of the web part is linked to the default view of the underlying list, not the filtered view I used. If you want people the click the title bar to go you a different view than the default you can.
  • Select Modify Shared Web Part
  • Scroll down to the advanced section
  • Look for a field labeled Title URL.
  • It probably points to the default view such as AllItems.ASPX. If I want to point it to a different view, just copy and paste URL to the filtered view into that field and hit OK.
You can have the link point anywhere, actually. you can have your title be a hyperlink to anywher on your site or somewhere on the internet. Every web part in SharePoint has this property. So even things that don't have one by default, like the photo viewer web part or content editor web part, can have a link added.

Tuesday, August 11, 2009

Two earthquakes

We had two earthquakes in Japan this week - a medium sized one on Sunday night (August 8th) and a slightly larger one Tuesday morning (Auguts 10th). The Sunday one was closer to us but a very deep earthquake, from what I heard. It lasted a long time but didn't do anything to our house other than make the lights sway and make the house creak. The Tuesday one was a quite a bit father away so we actually felt it less, even though it was a bigger earthquake.

Hopefully, there won't be any others any time soon. Since our building is only two years old, it should do okay in an earthquake, but I'm not interested in finding that out first hand.