Allan
-
5/31/2012 9:14:05 PM
get edit version of document
Hi,
When under workflow (no check-in/out), is it possible to get the current edit version of the document using SelectSingleNode or SelectSingleDocument method ?
I am trying to generate PDF based on current document version (unapproved or edited) but when I use SelectSingleNode, Im always getting the published/approved contents. Basically I want to show first a generated PDF before the document gets approved/published/or sumit for approval so the CMS editor can make necessary adjustment on the document content prior to approval.
I already tried setting the CMSContext.ViewMode = ViewModeEnum.Preview; similar to Preview mode but it doesn't work.
Any idea?
|