Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


ggt667 last won the day on June 6 2017

ggt667 had the most liked content!

Community Reputation

10 Good

About ggt667

  • Rank
    Street Stupid, Nerd Stupid, Geek Wiz

Profile Information

  • Title
    Philosopher, Partner, and Keyboard Masseur
  • Industry
    Logistics, horticulture production
  • Gender
  • Location
  • Interests
    Trikke T12 Roadster, bouldering, DIY woodwork

Contact Methods

  • Website URL
  • Skype
  • MSN
    iMessage: ggt667@me.com and FaceTime

FileMaker Experience

  • Skill Level
  • FM Application
    16 Advanced

Platform Environment

  • OS Platform
  • OS Version
    OS X, Arch linux, Joyent SmartOS, iOS

Recent Profile Visitors

13,702 profile views
  1. Is there a way to throw FMPXMLRESULT as payload at CWP to create new records in FileMaker? I tried the following: cd /tmp/ curl -X POST -kL "user:pass@" | tidy -i -xml -wrap 0 > /tmp/findany.fmpxmresult.xml curl -X POST -kL --data @findany.fmpxmlresult.xml "user:pass@" A new record is created, however the payload is ignored. Payload below FTR <?xml version="1.0" encoding="utf-8" standalone="no"?><!DOCTYPE FMPXMLRESU
  2. I'm not sure how you have done your setup, however I find it imperative for performance and SEO to prerender data from any database to HTML post edit. For FileMaker I have written XSLTs that export data for each product and article post edit. That is I do an export of the record in question using FileMaker's export XML feature with a given stylesheet for the site in question. I use FileMaker's DocumentPath() for this and export to a folder name given by the project itself, and a filename that fits its purpose such as ~/Documents/webshop/product/123571262.fmpxmlresult.xml in which renders
  3. My 2 cents worth; if SMTP is slow, please start looking into other options than your email client. My advice: How about checking the ping to your SMTP server? Check for limits on your SMTP server, and so on. As I have already pointed out the only reason I can see to want to go through an email client is if you'd like the person sending the email to potentially amend some of the email messages. Unless you do need to edit the email text or add/remove attachments, I believe using SMTP is the right choice for you. That said, using the script linked does not harvest any benefits from F
  4. Unless the purpose of this excercise is to enable whoever sends the message the possibility to edit the autogenerated message prior to pushing send; I would send emails using SMTP; not sure if FileMaker can do this on its own by now? Or if you still need a plugin like SMTP-it( https://www.cnsplug-ins.com/Plug-ins/SMTPit_Pro ) or similar, I would guess Monkeybread plugin also has SMTP option( https://monkeybreadsoftware.com/filemaker/files/Guides/Sending emails in FileMaker with MBS Plugin.pdf ) The amount of work would be the same; apart from the source data having specific variable na
  5. The core functionality for my ops team in this scenario is to have the email autogenarated by FileMaker, and for them to have the possibility to edit mail body or add / remove attachments. There is an AppleScript disassembler written in Python https://github.com/Jinmo/applescript-disassembler it's not brand new, however neither are the *.scpt files mentioned in FileMaker 13 Pro. Note that the only thing you will need to learn from the .scpt file is the sequence or pattern of the parameters sent from FileMaker to the mail application.
  6. On a Mac for `FileMaker 13 Pro` if I recall correctly you can copy the `AppleScript` that sends the parameters to the mail application via `AppleEvents`, there should be 2 of them 1 for `mail app` and some flavour of `outlook`. Those are both compiled and supposedly are not editable, however you can reverse the sequence of the input parameters and generate your own `postbox`-launch script using `Automator`, `XCode`, or `Apple Script Editor`. Perhaps `mailbox` works just by changing default mail browser. However the one I had to work with way back when did not so I had to create a separate
  7. Not sure where you learnt your mathematics, but to me ( 0.0, 2.0, 10.0 ) means 0 and 2 and 10 either as coordinates in a 3D field, or as a list. In Scandivian standards the same thing would be written ( 0,0, 2,0, 10,0 ) Maybe there are no moderators on this forum? In my opinion this should be split up into 2 threads, but I have no such rights on here, and can not do this myself.
  8. The major issue for me working on older European solutions; either as a basis or continuation. The possibility of , or . as decimal separator for number as a value. Obviously when I create a new solution I always follow the rules of mathematics using , as multiple number separator and . as decimal separator. However importing older data using `tr` could be confusing at times.
  9. Interesting, how can I retrieve the data type from the object?
  10. First you write an example that is non-declarative and then you make a statement that makes no sense to me. Can I no longer import letters into Filemaker's number field? I just tried `S10000` is still valid number field content. Do you know what data types are?
  11. Complicated how? Choosing a more declarative* apporach is a choice to avoid complicated usually. First you make sure the datatype using `GetAsBoolean()` then you delegate the outcome using `Choose()`; in which is FileMaker's equivalent of `switch`/`case` statement in other languages? For all practical reasons but `default:`. I'm not sure where you are able to complicate this? At least this is what I have to do in `c`/`cpp`/`swift` to avoid making assumptions. In FileMaker everything is text regardless and certain safety measures will have to be put in place. * In computer science, declara
  12. Or ``` Choose( GetAsBoolean( $desiredRelayState ); 1; 0 ) ```
  13. I'd say the conformity of the nature of the data will be clearer with the rigid choose() than the versatile case() conceptually speaking. Hence more readable.
  14. I'm not sure why you would use case when choose is a better option. My wild guess is that your script should look like this Insert from URL [ Select; With dialog: Off; "" & $desiredRelayState ]
  15. Yes, but I took the liberty and posted based on your input file on my gist in the link as described in my post above. @comment and my example does the same if you only have 1 record, the one I posted will be able to separate records properly without adding metadata for each record. There are benefits to using the command line tool `tidy`, Xmplify.app or similar in Mac OS X while developing, then again when you are done making it work there are no benefits to line breaks in XML or XSLT. Rather on the contrary different systems may interpret different kinds of separators for line break
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.