In order to restore correct email templates you will need to do the following:
1. Run the tool attached using Management Shell on any farm server with the following command:
./DeleteEmailTemplates.exe http://REMaddress/
All Email templates will get deleted.
2. Run the following script in Management Shell to recreate Email Templates:
$remUrl = "http://REMaddress/"
[System.Reflection.Assembly]::Load("Elearningforce.Sharepoint.LMS.Enrollment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a0480eb0bc0ac42a")
$rem = [Elearningforce.Sharepoint.LMS.Enrollment.ObjectFactory]::CreateAddonSite($remUrl)
[Elearningforce.Sharepoint.LMS.Enrollment.Common.EnrollmentAddonProvisioningProvider]::EnsureDefaultEmailTemplates($rem)
3. For LMS Suite versions starting from 4.6 some email templates might still be missing in the list. You will need to reactivate ELEARNINGFORCE - REM: Course Material REM site collection feature and ELEARNINGFORCE - REM: Curriculum site feature to recreate them, if these features were activated in REM before.
Comments
Article is closed for comments.