Appearance
wiz-fragment
wiz-fragment refers to the email component that lets inserting an insertEmailFragments token in your Veeva Vault emails.
Veeva Vault requires a specific HTML markup for added email fragments to Veeva Vault emails. For this, you place a insertEmailFragments token in your email. However, inserting the token directly in the email doesn't meet the markup requirements and results in incorrect rendering. To address this, use the wiz-fragment component available for eWizard emails. This component automatically adds the necessary HTML to render email fragments in Veeva Vault correctly.
Read more about the Fragment content item type in the eWizard Editor guide.
Scope of support
- You can use only one
wiz-fragmentcomponent in the same email. - You can use both
wiz-fragmentandwiz-template-fragmentcomponents in the same email.
Learn more about components
Usage
Component handling
We recommend adding and editing components using eWizard Editor.
Add the wiz-fragment component to your email template and change its properties in the App.vue file:
html
<!--./App.vue -->
<template>
<wiz-root align="center" style="background: #ffffff; width: 700px;">
<wiz-fragment :max="100" :min="100"></wiz-fragment>
</wiz-root>
</template>Attributes
You can set the number of email fragments that you can insert into the wiz-fragment component using the following attributes within the <wiz-fragment></wiz-fragment> tag:
minSet the minimum number of email fragments. You can enter the number from 1 to 100:
html<wiz-fragment :min="100"></wiz-fragment>maxSet the maximum number of email fragments. You can enter the number from 1 to 100:
html<wiz-fragment :max="100"></wiz-fragment>
Properties
The following properties are available:
| Property | Type | Default value | Description |
|---|---|---|---|
max | number | 1 | The maximum number of email fragments you can insert into the email in Veeva Vault. |
min | number | 1 | The minimum number of email fragments you can insert into the email in Veeva Vault. |