Changes for page !Test_file_path
Last modified by Alexandru Colesnicov on 2020/01/27 13:47
Change comment: There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e tvc1 +XWiki.acolesnicov - Content
-
... ... @@ -8,9 +8,18 @@ 8 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 - 12 - doc.XWikiAttachment.getAttachment_content().storageFile; 13 - 11 + 12 + att = doc.getAttachment("TestingData.xls") 13 + println (att.getClass().getSimpleName() + " (" + att.getClass().getName() + ")") 14 + 15 + xwa = att.getAttachment() 16 + println (xwa.getClass().getSimpleName() + " (" + xwa.getClass().getName() + ")") 17 + 18 + sfi = xwa.getAttachment_content().storageFile 19 + println (sfi.getClass().getSimpleName() + " (" + sfi.getClass().getName() + ")") 20 + 21 + //aco = att.getAttachment_content() 22 + 14 14 // for (XWikiAttachment attach in doc.getAttachmentList()) { 15 15 // println "** " + attach.filename; 16 16 // }