All, Technology

SharePoint 2007 – Under the hood

SharePoint is a very powerful and flexible tool. However, there are some areas where it’s not as simple as logging into the admin area of it to change the way it works. Sometimes you have to get “down & dirty” with it to make it do what you need it to do. Sometimes even for what might seem like straight forward requirements, a good example of this follows below;

SharePoint 2007 “12 Hive” Directory (The “business end” of SharePoint web application code)

“%>Program Files\Common Files\Microsoft Shared\Web Server Extensions\12”

AcIinv.aspx
– in “\TEMPLATE\LAYOUTS” is this “grant permissions to user” page (which also generates the relevant email to them). In here you can turn off the “Send welcome email to the new users” check box, which is always ticked by default otherwise! (And is thusly VERY annoying in the real world!) To fix this you just need to modify one line, starting at line 190, look for the following code:

wssawc:InputFormCheckBox
runat=”server”
id=”chkSendEmail”
Checked=”True”
LabelText=”<%$Resources:wss,aclver_SendEmailCheckbox%>”
ToggleChildren=true>
……

And just change the line: Checked=”True” to Checked=”False” (obviously!)

NOTE: If you have multiple Web Front End Servers remember to make sure you change the file on all of them!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.