2

SharePoint 2013 sends a notification email when you first setup your MySite. Does anyone know how can we update this email template.

I see one of the ways is to update following key in SPSCore.resx file

<data name="MySiteDocLibInitialSetup_GoMobile">
  <value>Take SharePoint with you by downloading the {0}mobile apps{1}.</value> 
</data>

But this will just change one of the strings (GoMobile). do you know if there is a better way of achiving this.

Here is the email that we receive when we setup our mysite

1 Answer 1

3

I have found that the code to send this email is generated in Microsoft.Office.Server.UserProfiles.UserProfile assembly. Refer following articles :-

So it seems that the only way to update this email is by updating the resource files (spscore.resx and spscore.en-US.resx or any other language specific files).

The string value contains some place holders and please keep the placeholders as it is. e.g. the above tag is update

<data name="MySiteDocLibInitialSetup_GoMobile">
  <value>Your text here and use the placeholder whereever you want {0}{1}</value> 
</data>

This will make sure that email generation code gets all the placeholders for the variable. Search spscore.resx file for 'MySiteDocLibInitialSetup' and you will find all the value that you can update.

Hope this helps...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.