Veeva DAM Connector module

Edition

Incubator (services)

Git

Git

Latest

1.0

Compatible with Magnolia 6.2+.

The Veeva DAM Connector module provides a connector to Veeva to use assets form this service. It provides an app to browse images, and a dialog to use this images/videos into your website.

veeva dam

This module is at the INCUBATOR level.

Installing with Maven

Maven is the easiest way to install the module. Add the following to your bundle:

<dependency>
  <groupId>info.magnolia.external.dam</groupId>
  <artifactId>magnolia-external-dam-veeva</artifactId>
  <version>1.0</version>
</dependency>

Configuration

Add the following configuration to the config.xml, JCR, or alternatively, decorate it from another module. The following values are found in your Veeva account.

  • dns: Veeva DNS

  • apiUsername: Veeva Username

  • apiPassword: Veeva Password

  • clientId: Veeva Client ID

Usage

Once the module has been installed, you can add assets to the website and/or apps by using the default link field. There are three types of objects that you can use from Veeva:

  • asset

  • text

  • module

Asset example

veeva chooser

  • Asset

  • Text

  • Module

  veevaImage:
    $type: linkField
    label: Choose Veeva Asset Element
    chooserId: dam-veeva:chooser-asset
    datasource:
      $type: veeva-asset
      preview:
        variationName: preview
  veevaText:
    $type: linkField
    label: Choose Veeva Text Element
    chooserId: dam-veeva:chooser-text
    datasource:
      $type: veeva-text
  veevaModule:
    label: Choose Veeva Module Element
    $type: linkField
    chooserId: dam-veeva:chooser-module
    datasource:
        $type: veeva-module

Call Veeva objects

In the templates, access the Veeva objects by calling Veeva templating functions:

veevafn.getVeevaText(veevaTextId!)! (1)
1 Where veevafn is the function, getVeevaText is the method. See info.magnolia.external.dam.veeva.templating.VeevaTemplatingFunctions for more details.

Link to a Veeva asset using Magnolia’s DAM servlet:

link = ctx.contextPath + "/dam/" + node.veevaImage!

veeva usage

Changelog

Version Notes

1.0

Initial release of the module.

Feedback

Incubators

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Veeva DAM Connector module docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules