Hi, I guess you are trying to publish the document programatically.
You just have to call the coreSession.publishDocument method and pass the documentModel objects of - the document (to be published) and the folder in which the document has to be published. DocumentModel documentModel = coreSession.publishDocument(*version1DM*, folderDM); DocumentModel documentModel = coreSession.publishDocument(*version2DM*, folderDM); Thanks, Hariprashath -- Posted by "hariprashath" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2832#8228> _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
