Cloning a Content Instance using ContentInstanceCloner
Hi,
I am looking for cloning Content Instances using an API. I see a package com.vignette.as.common.util.clone and classes, but there is no or little documentation about how to use this. Anyone has used these for cloning?
I would highly appreciate if I can get some code samples.
Thanks
Seb
0
Comments
-
Which version are you on ?
Sent from my iPhone
On 22 Feb 2017, at 19:35, eLink Entry: Discussion Group - Web Experience Management <v7webcontentmanagement@elinkkc.opentext.com> wrote:eLink : Cloning a Content Instance using ContentInstanceClonerCloning a Content Instance using ContentInstanceCloner Posted by Panikulam, Sebas On 02/22/2017 01:31 PM
Hi,I am looking for cloning Content Instances using an API. I see a package com.vignette.as.common.util.clone and classes, but there is no or little documentation about how to use this. Anyone has used these for cloning?
I would highly appreciate if I can get some code samples.ThanksSeb[To post a comment, use the normal reply function] Forum: Discussion Group - Web Experience Management Content Server: Knowledge Center CS16 0 -
try thisManagedObjectVCMRef sourceVCMRef = new ManagedObjectVCMRef(VCMID);ContentInstanceBuilder builder = null;builder = (ContentInstanceBuilder)BuilderFactory.getInstance(sourceVCMRef);ContentInstance target = builder.build();On Wed, Feb 22, 2017 at 10:35 AM, eLink Entry: Discussion Group - Web Experience Management <v7webcontentmanagement@elinkkc.opentext.com> wrote:
Cloning a Content Instance using ContentInstanceCloner Posted byPanikulam, SebasOn 02/22/2017 01:31 PM
Hi,I am looking for cloning Content Instances using an API. I see a package com.vignette.as.common.util.clone and classes, but there is no or little documentation about how to use this. Anyone has used these for cloning?
I would highly appreciate if I can get some code samples.ThanksSeb[To post a comment, use the normal reply function] Forum: Discussion Group - Web Experience Management Content Server: Knowledge Center CS16 --Thanks
Anirudh Joshi
Corporate Web Services
Seagate Technology
831-439-7031
Scotts Valley0 -
Good, so use the ContentInstanceBuikder. The other cloner is deprecated.
Sent from my iPhone
On 22 Feb 2017, at 22:30, eLink Entry: Discussion Group - Web Experience Management <v7webcontentmanagement@elinkkc.opentext.com> wrote:eLink : Re Cloning a Content Instance using ContentInstanceClonerRe Cloning a Content Instance using ContentInstanceCloner Posted by Panikulam, Sebas On 02/22/2017 04:24 PM
WEM 16[To post a comment, use the normal reply function] Topic: Cloning a Content Instance using ContentInstanceCloner Forum: Discussion Group - Web Experience Management Content Server: Knowledge Center CS16 0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 132 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 8.9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 162 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax