paperinicko's blog

Application Assets

Hi people!

Do you know where's the logic that place the content (ContentComponent, Presentation Template and Presentation Page) in this directory:

* Application Assets/VgnExtTemplating/*

* Application Assets/VgnExtTemplating/VgnExtPage0/*

 

Thank's in advance.

Nico 

Clone a ContentComponent with VCM/DP Api (7.3.1.1)

Hi chic@s,

I try to copy a Instance of a ContentComponent (as ImageComponent,

QueryComponent etc.) with VCM/DP api.

This is my code (temp is an istance of QueryComponent):

-----------------------------------------------------------------

//Retrieve ContentType of temp

ContentType ct = (ContentType) temp.getObjectType();

//Save a XML of Component temp

String newXml = temp.toXML();

//Generate new GUID

String guid = GUID.generateString();

Syndicate content