Try our conversational search powered by Generative AI!

Ha Bui
Jul 6, 2022
  3017
(6 votes)

CMS 12 Optimizely CMP Integration UI addon

Hi everyone, do you know about the great blogpost from Kate: CMS 12 integration with Welcome’s Digital Asset Management Librar (optimizely.com)

If not then I would suggest you please go throught that first to get overview of main purpose and user case of CMS 12 and Welcome DAM integration!

After reading but you still got struggling about: How to enable it in your template? then you are in right place. Here is detailed instruction for you:

Optimizely CMP UI integration

This will describes standard setup that you need for a template site in order to able to use Optimizely DAM UI integration packages.

Prerequisites

  1. EPiServer.CMS.Core 12.8 or later
  2. EPiServer.CMS.UI 12.9 or later

Installation

Install from command line

$ dotnet add package EPiServer.CMS.WelcomeIntegration.UI

In `Startup.cs` add following line:

services.AddDAMUi();

Start your site and use!

Configuration Options

Customize option can be done via `application.json` under `EPiServer\Cms` section, now we are supporting:

{
  "DAMUi":{
    "Enabled":true,
    "Settings":{
      "Welcome":{
        "IconClass":"dijitNoIcon",
        "AvailableTypes":"episerver.core.imagedata",
        "StoreName":"episervercmsdamcontentcreation",
        "Endpoint":"https://cmp.optimizely.com",
        "PathAndQuery":"/cloud/library-picker?assetTypes=image"
      }
    }
  }
}


Under "DAMUi", with Settings options then you can:
1. Change icon class so can use whatever icon you wants (default is "dijitNoIcon")
2. Change "AvailableTypes" so the new editor command only be added if it is (or inherited from) one of available type. (default is "episerver.core.imagedata" so all properties that allow an image to be added will have the new command)
3. Change store via "StoreName" so that you can customize server side code (with your new store) to add more your business logic into. (default is "episervercmsdamcontentcreation")
4. Change end point via "Endpoint" so that you can transform the root DAM domain for each environment you have (inte, preprod or prod) (default is "cmp.optimizely.com")
5. Change path and query so that you can add default filter for the DAM library picker by image, video or all (default is "image")

Screenshots

From Optimizely CMP DAM... for ContentArea

From Optimizely CMP DAM... for ContentReference property with thumbnail editor

Popup open when click (Optimizely CMP DAM login is required for the 1st time)

After login then next time, library picker will be shown

Select your asset then click `Choose`, popup will be closed then content will be saved (thumbnail will display after a while)

Related topics

1. Configuration
2.EPiServer CMS configuration section
3.Addon Overview

Jul 06, 2022

Comments

Praful Jangid
Praful Jangid Jul 6, 2022 11:20 AM

Thanks for sharing, I didn't notice this post is already there in series to Kate's post on how to install and configure it. Great post!

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog

The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024