Custom DAR email templates
The following email templates cab be customised via the vocabularies tab:
- User Registered email
- User Approved email
- Data Access Request email
- Data Access Request Approved email
- Data Access Request Denied email
- Data Access Request Error email
- Data Access Request Archived email
- Data Transfer Complete email
- Data Transfer Failed email
Users can add CC or BCC recipients, and customise the message subject and body:
The email content can be adjusted in the 'Body' text box. Information can be brought in from FAIR using pre-defined variables. These are:
- Owner of the dataset: <%= @context[:owner][:name] %>
- The requesting user's name: <%= @context[:requester][:name] %>
- The requesting user's email: <%= @context[:requester][:email] %>
- The DRE name: <%= @context[:platform_name] %>
- URL to the requested dataset: <%= dataset[:url] %>
- Name of the requested dataset: <%= dataset[:name] %>
- Link to the request: <%= @context[:url] %>
- ID of the request: <%= @context[:code] %>
- Name of the request: <%= @context[:fields][:name] %>
- Email of reviewer: <%= @context[:approver][:email] %>
- Name of the reviewer: <%= @context[:approver][:name] %>
Updated on October 20, 2023