From version < 4.5 >
edited by Alexandru Colesnicov
on 2019/10/02 13:19
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,7 +9,7 @@
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")
12 + att = doc.XWikiAttachment(doc, "TestingData.xls")
13 13   //aci = doc.XWikiAttachment.getAttachment_content()
14 14  
15 15  // for (XWikiAttachment attach in doc.getAttachmentList()) {