David Wikström

Members
  • Content count

    137
  • Joined

  • Last visited

  • Days Won

    1

David Wikström last won the day on August 1 2016

David Wikström had the most liked content!

Community Reputation

7 Neutral

About David Wikström

  • Rank
    member

Profile Information

  • Gender
    Not Telling

Contact Methods

  • Website URL
    http://www.camelcase.com/

FIleMaker Profile

  • FM Application
    15 Advanced
  • Platform
    Cross Platform
  • Skill Level
    Expert
  • Certification
    8
    9
    10
    11
    12
    13
    14
    15
  • Membership
    TechNet
    FileMaker Business Alliance
  1. Thanks for testing/confirming!
  2. Just out of curiosity have you tested this with? As far as I understand, html support is even less consistent from one e-mail client to another than across browsers...
  3. I have a solution where e-mails are created using 360Works Email 2.17, including a signature with an inline attachment. All e-mail accounts use gmail. E-mails are sometimes saved as Drafts Mailbox in Gmail (via IMAP), sometimes sent directly (via SMTP). For e-mails that are sent directly, everything works fine. However, when e-mails are saved as drafts, everything still looks perfectly fine when you open the draft via the Gmail browser interface in Safari. However, once the e-mail sent has been received, the inline attachment location appears to be broken. The image file (png) used for the inline attachment now appears to be just a normal attachment. To complicate things further, this is the way the e-mail appears in OS X 10.10.5 Mail or in Gmail in the browser itself; in Mail on iOS 10.2, the inline attachment looks just the way it should (those are the mail clients I've tested so far).
  4. Bump... Is there any chance this will be fixed before the next version of FileMaker is released?
  5. And if you do something else with the InputStream (like set a FileMaker field or save a file), it works fine? Have you had the possibility to test on FMS running on a Mac?
  6. Are you sure that this isn't a simple permissions issue due to FMS being sandboxed? What's the location of the EML mail file?
  7. Can you please also post the FileMaker script so we can see how you're calling the ScriptMaster function? It looks like you may by feeding the script an incorrect path (possibly the full path when you'd only want to send the relative path).
  8. To increase the memory size available for ScriptMaster: http://docs.360works.com/index.php/Heapspace_Out_of_Memory_Error.
  9. Try: //SM_TextFromGZIP ( containerFieldName ) import java.util.zip.GZIPInputStream; import java.util.io.*; InputStream fieldStream = new BufferedInputStream(fmpro.getContainerStream(containerFieldName)); GZIPInputStream gunzip = new GZIPInputStream(fieldStream); InputStreamReader reader = new InputStreamReader(gunzip); BufferedReader pr = new BufferedReader(reader); String line; String finalOutput = ""; while ((line = pr.readLine()) != null) finalOutput += line; return finalOutput;
  10. I'm not sure if this is necessarily in the spirit of ScriptMaster (where a lot is done with an open source-approach), and I haven't checked if there are provisions the ScriptMaster Advanced license concerning how you can and can not use it, but just from a technical point of view, you could include calls to a license in each Groovy function to control execution. You could e.g. pull a license key from a given file, table and field using the functions that allow you to read FileMaker record data (you could also use a custom function to store your license key, or maybe it's enough to hardcode the current file name). If that doesn't return a valid license key, you return an error message or whatever and don't execute the actual function. I've used a similar approach in a ScriptMaster-based plugin that requires an iText license (implemented with lots of assistance from the ever helpful @john renfrew).
  11. Thanks for that info - if it works with the BE plugin, that would certainly indicate that there's something wrong with the ScriptMaster plugin itself. It would be interesting to hear from 360Works in this one... Did you report the error directly to them, send the log files, etc?
  12. Just to confirm & try narrow this down: you can have ScriptMaster run the bat file once only (until you restart FMS), but the plugin itself continues working - if you call any other function except the one to run your bat file, it works? Can you run another bat file? No bat files at all but other ScriptMaster commands? Or is ScriptMaster "dying" altogether? How is the ScriptMaster plugin installed on the server - manually or using the "Install Plug-In File" script step, as part of the server-side script? Have you tried executing the bat file directly using a Schedule running a System-level script set up in FileMaker Server, to see if that behaves differently?
  13. Did you place your bat file in C:\Program Files\FileMaker\FileMaker Server\Data\Scripts?
  14. Look for C:\Program Files\FileMaker\FileMaker Server\Data\Documents.
  15. If you can store these file in FileMaker Server's Documents or Temp folder, things will be easier. The server computer should normally not even be logged in with an OS user account, so your own user folder isn't the best place.