Hello,
With limited exposure to WEM...
Am I able to auto version my content. I would like a snapshot to be created everytime content is created/modified/deleted so I can revert to it if needed before a publish.
Possible? If so how?
Thanks,
Yes its possible, You can achieve this with listener.
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com] Sent: Wednesday, September 24, 2014 2:35 AMTo: eLink RecipientSubject: Auto Version my content WEM 8.5
Auto Version my content WEM 8.5
Posted by victor.prasad@aer.ca (Prasad, Victor) On 09/23/2014 05:00 PM
[To post a comment, use the normal reply function]
Forum:
Discussion Group - Web Experience Management
Content Server:
Knowledge Center
You'll find good examples for creating a listener here:
OpenText Web Experience Management 8.5 - Content Management SDK Development Guide
The overall steps are:
1. create a java class that implements iAsEventListener
add filtering for the event type (normally pre-persistence update, create, delete)
2. jar the class and deploy to WEM using either configp or cfgaction (see above dev guide on how to do this). You can automate this in ant or maven using cfgaction (useful) but otherwise configp works fine.
3. Register your new Listener by associating with the appropriate events (using either the config console, or cfgedit).
4. Push the changes and test (you can see the event firing in the VgnVCMRuntime logs
5. If it works, commit the change!
Here's an example Listener that does a basic auto approve for updates (you'll need to extend this for other events).
It also sounds like you're wanting for this to take place in a workflow (publishing)? If so, you can register this as well as a "Program Task" and fire it off as needed inside an Approval Workflow! :-)
If you're interested we offer a 4 day SDK Development course that covers things like this (and lots of other fun WEM SDK topics). You can take this offline, onsite, online, self-paced.
Evan
Thank you!
Is Listerner part of WEM?
V
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]Sent: Wednesday, September 24, 2014 2:35 AMTo: eLink RecipientSubject: Auto Version my content WEM 8.5
Yes Listener is available in WEM