Custom Code for Export

Joe_Chorba
Joe_Chorba Member
edited June 21, 2012 in Documentum #1

Hi all,

I was wondering if anyone can help me out. I've been trying import a .zip from our Web Server to the users local C:/. I can get the import to work great, but the export isn't working. I'm trying to do this is from one selection, we are using virtual documents that we build into a larger docuement through custom code.

We are now looking to import that larger document (which is now a .zip) into documentum, then export it to the users C: so that that file can be sent to reviewers (who are NOT in documentum).

Has anyone else out there done anything similar? If so, can I take a look at how you did it?

I've been using the sample from the Javadocs for 5.3 [doExport()] but it's not working...

Thanks.

Joe

Tagged:

Comments

  • DCTM_Guru
    DCTM_Guru Member
    edited June 20, 2012 #2

    Whats the error you are getting?  Are you trying to save multiple docs into a zip or take virtual document and make it a zip?

  • Joe_Chorba
    Joe_Chorba Member
    edited June 20, 2012 #3

    The final goal that I'm trying to accomplish is to take a zip file from the web server and move it to the users c drive. Right now, I have it to the point where I can import the zip file to Documentum, but I cannot export it. I'm not getting an error it's just not exporting it.

    I'm now trying to add in some more custom code that will just transfer from the web server to the user c drive through an httpservlet, but I'm not sure how to implement it.

  • lastnitescurry
    edited June 21, 2012 #4

    Do you have to store a zip file on repository?

    ExportToCsv component has example code of downloading a csv file, which was generated on the fly on web server and not stored in repository

    Definately a Documentum 6x feature, not sure about 5x. Get a 6x copy of wdk.war and it is in:

    com.documentum.webcomponent.library.exporttocsv

    or search for HttpTransportManager

    Came across ZipStream yesterday, might be of interst if that zip file is very big.... which is likely if your are in an engineering company and sending out a transmittal

    https://spideroak.com/code