Language copy using the API ? | Community
Skip to main content
Level 2
October 16, 2015
Solved

Language copy using the API ?

  • October 16, 2015
  • 1 reply
  • 1348 views

Hi all, 

I'm trying to find out what is the best way to create a language copy of a page in a programmatic way. After some research I found a couple of things: 

- The /bin/wcmcommand servlet is used to language copy within the interface. However I trying to find out which API is used internally? Just like the wcmcommand for creating pages, uses the PageManager, I'm trying to find the LanguageCopy equivalent (but I'm afraid it doesn't exist...)

- Nowadays there is a workflow called 'WCM Create Language Copy', however it doesn't seem to be used when you create a new language copy within the (Classic) interface...

- The LanguageCopyCommand seems to be gone since CQ5.1 (http://docs.adobe.com/docs/v5_1/cq-wcm-javadoc/com/day/cq/wcm/core/impl/commands/LanguageCopyCommand.html), so that isn't an option anymore

Somebody who has an idea what the easiest way is for creating a language copies within a service/component ? 

Thanks in advance!
Best regards, 
Ruben

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi Ruben,

IIRC the LanguageCopy functionality internally uses the PageManager API, so there's nothing special about it.

kind regards,
Jörg

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi Ruben,

IIRC the LanguageCopy functionality internally uses the PageManager API, so there's nothing special about it.

kind regards,
Jörg