Pages

Wednesday, April 11, 2012

SP 2007: How to Uncheck the Send Welcome e-mail checkbox

To uncheck the "Send Welcome E-mail" checkbox that is checked by default when you add a user to a site, follow these instructions. Caution: It does modify an out-of-the-box file and it will likely get over-written during an update, so it is always risky. That being said, for me, the risk is low since it is a farm that will not get more updates nor will it get upgraded.
1. Go here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS
2. Find this file: AclInv.aspx and edit.
3. Find the section below and change the text in red to False. It will be True by default.
<Template_InputFormControls>
<wssawc:InputFormCheckBox
runat="server"
id="chkSendEmail"
Checked="False"
LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
ToggleChildren=true>
<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,aclver_SubjectLabel%>" EncodeMethod='HtmlEncode'/>
<br>
<wssawc:InputFormTextBox Title="<%$Resources:wss,aclver_SubjectTitle%>" class="ms-long" ID="txtEmailSubject" Columns="35" Runat="server" MaxLength=255 OnChange="OnSubjectChanged()" />
<wssawc:InputFormRequiredFieldValidator id="ReqValEmailSubject" runat="server"
BreakBefore=true BreakAfter=true
EnableClientScript ="false"
ControlToValidate="txtEmailSubject"/>
<br>
<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,aclver_BodyLabel%>" EncodeMethod='HtmlEncode'/>
<br>
<wssawc:InputFormTextBox Title="<%$Resources:wss,aclver_BodyTitle%>" class="ms-long" ID="txtEmailBody" Runat="server" TextMode="MultiLine" Columns="40" Rows="8" Cols=64 MaxLength=512 />
</wssawc:InputFormCheckBox>
</Template_InputFormControls>

No comments:

Post a Comment