ProductWorkflowStateChanged:EmailNotification.UserFirstName

Version: - string  

Summary

Returns first name of notified user.

Settings

Related to First Name field of the user difined in User Management.

Examples

Outputting the template tag

@GetString("ProductWorkflowStateChanged:EmailNotification.UserFirstName")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ProductWorkflowStateChanged:EmailNotification.UserFirstName"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("ProductWorkflowStateChanged:EmailNotification.UserFirstName"); }

Outputting the template tag

<!--@ProductWorkflowStateChanged:EmailNotification.UserFirstName-->

Check if string has a value

<!--@If Defined(@ProductWorkflowStateChanged:EmailNotification.UserFirstName)--> Let's output this tag here: <strong><!--@ProductWorkflowStateChanged:EmailNotification.UserFirstName--></strong> <!--@EndIf(@ProductWorkflowStateChanged:EmailNotification.UserFirstName)-->