Skip to content

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-fragment component in the same email.
  • You can use both wiz-fragment and wiz-template-fragment components in the same email.

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:

  • min

    Set the minimum number of email fragments. You can enter the number from 1 to 100:

    html
    <wiz-fragment :min="100"></wiz-fragment>
  • max

    Set 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:
PropertyTypeDefault valueDescription
maxnumber1The maximum number of email fragments you can insert into the email in Veeva Vault.
minnumber1The minimum number of email fragments you can insert into the email in Veeva Vault.