3

it is possible to show the Versions Number from a SharePoint Site on the Site like a footer?

1 Answer 1

3

You could have a user control which display the BuildVersion of the farm, and show this within your MasterPage in the right place.

The BuildVersion property:

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.buildversion.aspx

Creating User Controls for SharePoint:

http://sharepointinsight.blogspot.com/2007/07/web-user-controls-in-sharepoint.html

5
  • Thanks for your answer. But is there also a no code solution for this problem? like [Version] or something else? Commented May 10, 2011 at 8:19
  • 1
    Nope, I don't think so. Commented May 10, 2011 at 12:00
  • 1
    Yeah, don't think there is. The user control could be dead simple, though - your basic ASCX with something like this in: <% Microsoft.SharePoint.Administration.SPFarm.Local.BuildVersion.ToString(); %> - no need for any assemblies, just the ASCX deployed to the CONTROLTEMPLATES directory (although I'm not yet sure how sandboxable this is). Commented May 10, 2011 at 12:03
  • 2
    hmm, you might get trouble with permissions fetching farm properties with a regular user, so remember to test if this work without elevation. Commented May 10, 2011 at 12:43
  • 1
    Good point there, +1 Commented May 10, 2011 at 12:54

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.