Giter Site home page Giter Site logo

dc-extension-deep-copy's Introduction

Dynamic Content Deep Copy Extension

Dynamic Content Deep Copy Extension

This extension allows users to make a deep copy of a content item with its dependencies. There is also the ability to rename future copies by adding a prefix or renaming each item individually. Users will see validation status on each dependency of the selected content item. Copying content is only possible when each dependency is valid, otherwise users need to fix invalid content first and press reload to validate it again.

Register Extension

This extension needs to be registered against a Hub with in the Dynamic Content application (Developer -> Extensions), for it to load within that Hub.

Setup

Setup

  • Category: Dashboard
  • Label: Deep Copy (this will appear as the tab title in the Dashboard)
  • Name: deep-copy (needs to be unique with the Hub)
  • URL: https://deep-copy.extensions.content.amplience.net
  • Description: Deep Copy Extension (can be left blank, if you wish)

Note: You can use our deployed version of this extension (builds from the "production" branch) -

https://deep-copy.extensions.content.amplience.net

As this is an open source project you're welcome to host your own "fork" of this project. You can use any standard static hosting service (Netlify, Amplify, Vercel, etc.) if you wish.

Permissions

Permissions

Installation parameters

The only required installation parameter is the hub id, users can find it in Hub settings -> Properties in Dynamic Content.

{
  "hub": "6b689b30cfd47e50614va258"
}

Overview

Selected content item with its dependencies, validated successfully.

Validation

Rename functionality by adding a prefix to future copies.

Rename

Limitations

This version of Deep Copy Dashboard doesn't support validation and copy of hierarchies. It will also make a full copy of slots including all the dependencies.

Build and run locally

This project requires Node 16.x or 18.x to build.

npm install npm run start

Runs the app in the development mode over https.
Use https://localhost:3000 as the URL when configuring your local version of the extension.

npm run build

The built extension will then be present in the build/ directory, and you can upload it to any webserver.

dc-extension-deep-copy's People

Contributors

rs-amp avatar pikinerliliya avatar mikedsharp avatar sclarke-amplience avatar gloscombe-amp avatar

Watchers

James Cloos avatar  avatar Réza Kalfane avatar Burhan Ali avatar Karl Lankester-Carthy avatar David Pepper avatar Patrick Lovell avatar  avatar Oliver Jarrett avatar  avatar ben avatar Darren Lee avatar  avatar  avatar Joe Warner avatar  avatar

Forkers

rs-amp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.