Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

Hubshare On-Premises - How to edit the e-mail templates

Last updated on 9 December 2024

Admin
M-Files Hubshare

Overview

Hubshare’s email template feature empowers administrators to customize emails for users. 

These templates combine CSHTML files (for dynamic content) and RESX files (for text translation). 

They are organized into folders based on their specific use within Hubshare’s email system.

You can edit default templates, but only individuals with expertise in C# and HTML can modify them. However, M-Files cannot guarantee support for such modifications.

Solution

The default templates files are in the Hubshare Storage folder, in the following path:

i.e.: C:\Hubshare\Storage\Company\Email\Default (your path may differ depending on where the Storage folder is)

image.png

You will now need to create a specific folder that will contain your edited templates.

  • Create a folder and name it with your Company ID 
    (How to get the Company ID? /article/How-to-get-my-Hubshare-Company-ID)
  • Copy the content of the Default folder in the folder newly created.
  • Customize CSHTML templates that are in that same folder.
    Note: Do not edit any files from the "Default" folder.
  • Go to the IIS, Applications Pools, and restart both Hubshare applications (HubshareDefaultWebApp & HubshareDefaultWorker)

When a new folder is added, Hubshare will automatically detect it and utilize the templates contained within.

Still need help?

On this page