Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Duplicate Collections and Articles

Haeme_Ulrich
Level 4
Level 4

Is there a way to duplicate Collections and Articles? I would like to have a Template Collection and/or Template Article with all the correct Metadata in it. Otherwise it would be helpful to import metadata out of other Collections/Articles.

Any ideas?

Thank you!

Haeme

4 Replies
rperez_bonnier
Level 5
Level 5

I agree.

We would love to be able to import XML metadata and apply it to an entire list of articles in one collection. Much like you can do with Classic using the XML sidecar.

Bob_Bringhurst_
Employee
Employee

Not yet, but there are plans for copying content and importing metadata.

mikecyang
Employee
Employee

While we wait, you can also tackle this using the DPS 2015 Content Producer Service APIs.

Here's a recipe structure for this:

  1. load the XML file into memory
  2. Set the necessary credentials
  3. Set the project Id and collection entity name (not title)
  4. Request for the list of content elements within the specified collection (step 3)
  5. Iterate through the list of content elements and update each entity metadata with the data from the XML file (step 1)
    • Please note that the content element will reference an entity, which can be an article, banner, or collection.
    • You can selectively choose the types of entity to update, or update all regardless of type (i.e. I want to apply the XML metadata to articles, but not banners or collections)


Haeme_Ulrich
Level 4
Level 4

​Thank you for your investigation! I'm looking forward to this feature

Best

Haeme​

--

Sie möchten Ihre Botschaften noch erfolgreicher verbreiten? In unseren

Seminaren lernen Sie wie.

zum Seminarangebot <http://www.weloveyou.ch/seminare/>