Hi I am trying to publish the vcm content through API.
This is the code i am trying with
ContentInstance contentInstance = (ContentInstance)ciIteratorCar.next();
ManagedObjectVCMRef mobj = new ManagedObjectVCMRef(contentInstance);
SiteRef siteref = new SiteRef();
Site site = Site.findByName("usen");
site.addDeployableObject(guid);
DeploymentClient deploymentClient = new DeploymentClient(siteref);
deploymentClient.launchJob(mobj.getObjectId());
But I am getting run time exception. Can you plz help me?
Re: Mass publishing
Could you paste the exception?