From version < 4.1 >
edited by Alexandru Colesnicov
on 2019/10/02 12:35
To version < 4.6 >
edited by Alexandru Colesnicov
on 2019/10/02 13:21
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,7 +9,8 @@
9 9   // y=XWikiAttachment(xwiki.getDocument(doc.parent), "aFileVerified").getAttachment_content().storageFile;
10 10   //y=xwiki.getDocument(doc.parent).XWikiAttachment.getAttachment_content().storageFile;
11 11  
12 - doc.XWikiAttachment.getAttachment_content().storageFile;
12 + att = doc.getAttachment("TestingData.xls")
13 + sfi = att.getAttachment_content().storageFile
13 13  
14 14  // for (XWikiAttachment attach in doc.getAttachmentList()) {
15 15  // println "** " + attach.filename;