Hi,
Individual content instances can be versioned.
1) What about component instances? For e.g. can we version a text component ?
2) Is there a way to version at page level so entire page is versioned and can be restored back?
thanks,
Chinmay
Hi Chinmay,
I think you can create versions for any content (component, page, etc). You can do this through a listener for the events AsPostPersistenceEvent.POST_CREATE and AsPostPersistenceEvent.POST_UPDATE.
This is the method you need to use:
ContentManagementOps.createVersion
thanks
Srini
Thanks. Yes, I agree with you. But when you open up any of the component instances, there is no 'Versions' tab similar to regular content instances.
Chinmay,
The property sheet for version is disable as part of DSM Extension.
Vignette Configuration Console > Vignette Content > Vignette Content Management Services > Vignette Management Console > Service Provider Framework > Type Specification Registry > System Extension Type Specification Registry
If you need to enable it then your will need to create a custom registery entry for ContentComponents in your system and add the required property sheet you need.
I have not tried creating this particular functionality, but given it is standard extension point should be doable easily.
Best Regards
Qutubuddin Saifuddin