31 Dec 2018: Thank you to our knowledgeable and friendly forums users for another great year. We are aware of the uptick in spam accounts and are doing our best to ban these at first sight. Thank you for your patience!

Importing files?

Hi All,

I have last asked this question in 2010 and would like to check back to see if anything has changed: is it still not possible to import files (file uploads) programmatically into OpenClinica, just like we can import any other variable?

Thanks in advance!

Mihai

Comments

  • Csaba.HalmagyiCsaba.Halmagyi Posts: 52
    Hi,

    You can. The steps you should do are the following:

    1. Upload all your files to the server in advance. The path with default settings is:
    /usr/local/tomcat/openclinica.data/attached_files/STUDY OID/

    2. Import the references
    <ItemData ItemOID="I_ALLIT_FILEITEM" Value="/usr/local/tomcat/openclinica.data/attached_files/S_SYNCSTUD/file.jpg"/>

    Hope this helps!

    Regards,
    Csaba





  • mvirtosumvirtosu Posts: 275
    Thanks!
Sign In or Register to comment.