Skip to content

Modules · integrations

Connect what you already run.

Show live data from other systems on your pages, sign editors in with Microsoft, and plug in the mail, marketing, analytics and media services you use. Each one is a package.

dotnet add package Veva.Modules.DataSources

Data sources

Live data, bound into pages.

Veva.Modules.DataSources reads other systems and hands each item to your components.

REST, JSON, XML and RSS

The HTTP data source reads an address with your headers and caches the answer. Parsers take JSON paths, XPath or RSS.

SQL Server

Run a SELECT against a named connection string and list the rows.

Web pages

Read fields from another site's HTML with CSS selectors.

Into documents

A sync task copies data source items into documents and keeps their fields up to date.

Bound into components

A Data source list puts each item in the data binding, so {name} works in any text.

Background work

Scheduled and one-off tasks run on Hangfire, through the task daemon.

How it works

From another system to your page.

  1. 01

    Another system

    A REST api, an XML or RSS feed, a web page or SQL Server.

  2. 02

    Data source

    The HTTP or SQL data source fetches the data and caches it.

    IDataSource
  3. 03

    Parser

    JSON, XML, RSS or HTML become items with named fields.

    IDataSourceParser
  4. 04

    Data source list

    Each item goes into the data binding context.

    DataSourceList
  5. 05

    Your page

    Placeholders such as {name} show the values.

Integration modules

Plug in the services you use.

Each is a package of its own. Add it, restart, and set it up in the site's settings.

Microsoft sign-in

Veva.Modules.Authentication.Microsoft

Editors sign in to the Veva backend with their Microsoft account.

Identity
dotnet add package Veva.Modules.Authentication.Microsoft

Single sign-on host

Veva.Modules.SingleSignOn.Host

Makes this site the sign-in host for your other Veva sites.

Identity
dotnet add package Veva.Modules.SingleSignOn.Host

Microsoft Teams

Veva.Modules.Microsoft.Teams

Posts newly added documents to a Teams channel through an incoming webhook.

Microsoft
dotnet add package Veva.Modules.Microsoft.Teams

Azure Key Vault

Veva.Modules.AzureKeyVault

Keeps the site's secrets and RSA keys in Azure Key Vault.

Microsoft
dotnet add package Veva.Modules.AzureKeyVault

HubSpot

Veva.Modules.Hubspot

Embeds a HubSpot form, so submissions go straight to HubSpot.

Marketing
dotnet add package Veva.Modules.Hubspot

SendGrid

Veva.Modules.Mail.SendGrid

Sends the site's e-mail through SendGrid.

Mail
dotnet add package Veva.Modules.Mail.SendGrid

SMTP mail

Veva.Modules.Mail.MailKitMailer

Sends the site's e-mail through any SMTP server.

Mail
dotnet add package Veva.Modules.Mail.MailKitMailer

Google Analytics

Veva.Modules.GoogleAnalytics

Adds Google Analytics, waiting for cookie consent or sending consent signals.

Analytics
dotnet add package Veva.Modules.GoogleAnalytics

Google Tag Manager

Veva.Modules.GoogleTagManager

Adds a Tag Manager container, waiting for cookie consent or sending consent signals.

Analytics
dotnet add package Veva.Modules.GoogleTagManager

CookieHub

Veva.Modules.CookieHub

Adds CookieHub's consent banner, set up with your CookieHub account ID.

Consent
dotnet add package Veva.Modules.CookieHub

Unsplash

Veva.Modules.Unsplash

Adds Unsplash photos to the Add Content dialog.

Media
dotnet add package Veva.Modules.Unsplash

Pexels

Veva.Modules.Pexels

Adds Pexels photos and videos to the Add Content dialog.

Media
dotnet add package Veva.Modules.Pexels

For developers

Bring a system of your own.

A data source fetches, a parser turns the answer into items. Register both, and editors pick them in a Data source list.

ProductParser.cs
public async Task<DataSourceItemsResult> ParseItemsAsync(object data)
{
    var rows = JsonConvert.DeserializeObject<List<Product>>(data.ToString());
    var items = rows.Select(row => new DataSourceItem
    {
        Identifier = row.Sku,
        Values = new Dictionary<string, object>
        {
            ["name"] = row.Name,
            ["price"] = row.Price,
        },
    }).ToList();

    return new DataSourceItemsResult { Items = items, TotalItems = items.Count, QueryKey = QueryKey };
}

// services.AddNamed<IDataSourceParser, ProductParser>(ServiceLifetime.Transient);

Keep reading

Guides for this module.

All articles

More of Veva

Explore the other modules.

Each one is a package. Reference it, restart, and its components are in the editor.

All modules

Page builder

Compose pages from components, then preview and publish

Open

Documents

Structured content you list, filter and serve anywhere

Open

Assets

One media library, with images sized on request

Open

Search

Crawl, index and search the whole site

Open

Veva core

BuildVeva(), modules, components, themes and hooks

Open

Type to search the docs, components and API.

↑↓ to move ↵ to open Esc to close Search by Veva