Expandir la barra de logros de la comunidad.

The first preview of our new Community upgrade is live - check it out now.

Mark Solution

Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.

RESUELTAS

How do I programically version a page?

Avatar

Level 3

Hi,  

  So how do I programically version a page? Basically what I want is regardless of the page has been modified or not, the page should create a new version when I execute the code.

  I have tried VersionManager.checkin(path), but it doesn't work.

 

Thanks.

1 solución aceptada

Avatar

Respuesta correcta de
Level 3

Thanks. smacdonald2008. PageManager.createRevision("/path") does the trick.

Ver la solución en mensaje original publicado

2 Respuestas

Avatar

Level 10

Avatar

Respuesta correcta de
Level 3

Thanks. smacdonald2008. PageManager.createRevision("/path") does the trick.