• Attachments in 1.2

    By David Turner 1 decade ago

    User reported problems using the 'Attachments' function new in 1.2.

    A file matching C:\temp\*.log was not being attached.

     

    See discussion: Attached file problem (micro sam)

    • Attachments - Improved in 1.3

      By David Turner 1 decade ago
          <p>
              Issue was not reproducible on developer machine, but suggested a possible patch to change line in the getFileList function.</p>
          <p>
              Patch as follows:<br/>
              &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; filename = Dir$(templ)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Normal files.</p>
          <p>
              To<br/>
              <span style="font-family:courier new,courier,monospace;">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; filename = Dir$(templ<strong>,6</strong>)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Normal + System + Hidden files.</span></p>
          <p>
              &nbsp;</p>
          <p>
              Although the spec on the <a href="http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/topic/com.ibm.designer.domino.main.doc/LSAZ_DIR_FUNCTION.html" target="_blank">Dir$() Function</a>, going back even to Notes 6, suggests that when the 2nd &#39;attributeMask&#39; parameter is omitted, normal files will be included; it seems that <em><strong>explicitly </strong></em>adding the 2nd parameter is a good idea. At least it appears to have solved the problem in this case.</p>
          <p>
              &nbsp;</p>
          <p>
              This change has been included in release 1.3.</p>
      </div>