Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Pre-populate Attachments in URL, posted by Erik Iverson on Thu Aug 6 22:29:12 2009 
    icon2.gif   Re: Pre-populate Attachments in URL, posted by Stefan Ritt on Fri Aug 7 08:36:19 2009 
Message ID: 66500     Entry time: Thu Aug 6 22:29:12 2009     Reply to this: 66501
Icon: Entry  Author: Erik Iverson  Author Email: eiverson@ornl.gov 
Category: Question  OS: All  ELOG Version: 2.7.3 
Subject: Pre-populate Attachments in URL 
Is there a way to pre-populate the new entry window with one or more attachments? Per the documentation, this is easy to do with attributes, i.e., http://localhost:8070/demo/?cmd=New&pauthor=joe&ptype=Info as a URL or bookmark will do it. I'd like to do the same thing with attachments, for example http://localhost:8070/demo/?cmd=New&pauthor=joe&ptype=Photograph&attfile1=picture1.jpg&attfile2=picture2.jpg might prepopulate two attachments, giving me an edit window all ready to enter the brief description represented by the two pictures.
ELOG V3.1.5-fe60aaf