cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use [[EntitlementTimeLicenseMod]] merge tag in Entitlement Email Template 

How to use [[EntitlementTimeLicenseMod]] merge tag in Entitlement Email Template 

The [[EntitlementTimeLicenseMod]] is used to display values of Entitlement Time License Model Attributes in the entitlement email. 

For example, the following Entitlement time License Model attribute needs to be added to the Entitlement email. 

Ent Time LM att.JPG

Add the following code after ActivationID: [[ActivationID]] under [[FOR-EACH TAG="EntitlementLineItem"]] line in text content or in HTML content and then validate and save the Entitlement Template
--

[[FOR-EACH TAG="EntitlementTimeLicenseModelAttributes"]]
[[FOR-EACH TAG="Attribute"]]
[[Name]] : [[Value]]
[[END FOR-EACH]]
[[END FOR-EACH]]

--

Find the Email with Entitlement Time License Model Attributes name and values 

Ent Email with mergetag.JPG

Or if we need to display anyone value in any other place in the Entitlement email template then we can use the following code in any place of the Entitlement email template.  

----

[[FOR-EACH TAG="EntitlementLineItem"]]

 [[FOR-EACH TAG="EntitlementTimeLicenseModelAttributes" child-only="true"]]

 [[FOR-EACH TAG="Attribute" child-only="true"]]

 [[IF TAG="Name" VALUE="NOTICE"]]  

 [[IF TAG="Value" VALUENOT="null"]]     

Notice: [[Value]]  

[[END IF]]  

[[END IF]]

 [[END FOR-EACH]]

 [[END FOR-EACH]]

[[END FOR-EACH]]

 ----

Only One value.JPG

The sample code is attached for reference. 

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 16, 2021 05:37 AM
Updated by:
Contributors