Zed.CRM.FreeMarker 1.0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Zed.CRM.FreeMarker --version 1.0.0.1                
NuGet\Install-Package Zed.CRM.FreeMarker -Version 1.0.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Zed.CRM.FreeMarker" Version="1.0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Zed.CRM.FreeMarker --version 1.0.0.1                
#r "nuget: Zed.CRM.FreeMarker, 1.0.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Zed.CRM.FreeMarker as a Cake Addin
#addin nuget:?package=Zed.CRM.FreeMarker&version=1.0.0.1

// Install Zed.CRM.FreeMarker as a Cake Tool
#tool nuget:?package=Zed.CRM.FreeMarker&version=1.0.0.1                

Zed.CRM.FreeMarker

License

CRM specific FreeMarker template engine. It allows to process FreeMarker templates to produce text result based on data from the MS Dynamics CRM. It can be used in 3rd party projects or as part of the CRM Plugin or CustomActivity.

Sample

Template:

Dear, ${Recipient.contact.fullname!Friend}${Recipient.account.name!Friends}! It's time to use text processing engines. Best Regards, ${Context.Sms.from.systemuser.fullname} by ${Context.Sms.Subject}

Result:

Dear, ZeD inc! It's time to use text processing engines. Best Regards, Alexander Spirin by Demo sms

Check also SamplePlugins project

Implemented directives

At the moment library contains a limited set of implmented features:

  1. Basic value: ${Context.Sms.Subject}
  2. Chained field value: ${Context.Sms.from.systemuser.fullname}
  3. Default value: ${Recipient.contact.fullname!Friend}
  4. If directive: <#if Recipient.contact.fullname == John Doe> John sample text </#if>
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.13 597 1/12/2022
1.0.0.12 2,354 11/12/2020
1.0.0.11 403 10/27/2020
1.0.0.10 401 10/21/2020
1.0.0.9 410 10/21/2020
1.0.0.8 443 10/6/2020
1.0.0.7 562 9/12/2019
1.0.0.5 623 7/16/2019
1.0.0.4 549 6/25/2019
1.0.0.3 566 5/24/2019
1.0.0.2 568 5/20/2019
1.0.0.1 757 2/1/2019