From version < 4.8 >
edited by Alexandru Colesnicov
on 2019/10/02 13:23
To version < 4.4 >
edited by Alexandru Colesnicov
on 2019/10/02 13:11
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,8 +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 - att = doc.getAttachment("TestingData.xls")
13 - //aco = att.getAttachment_content()
12 + att = doc.XWikiAttachment(doc, "TestingData.xls")
13 + //aci = doc.XWikiAttachment.getAttachment_content()
14 14  
15 15  // for (XWikiAttachment attach in doc.getAttachmentList()) {
16 16  // println "** " + attach.filename;