By Kent Searight
I'm trying to get a token from an authorization server using cURL in Insert From URL. When I make the following request in Terminal
curl -i -X POST -d 'username=myaccountname&password=mypassword' https://authserver.com/login
I get the token back in the response header.
Since FileMaker doesn't support the --include (-i) option I haven't been able to figure out how to get the response header with the token. Anyone have any ideas on how to accomplish this?
Thanks in advance!
Okay, I figured out I can get a response header by using the option --dump-header and setting it to a variable. The only problem now is that the token comes from a redirect location and I'm only getting the response header from the original URL. I'll keep working on it but I'll be happy to get whatever advice anyone can offer in the meantime.
Updated file management plug-in for FileMaker Pro 16 improves Drag and Drop function
Alphen aan den Rijn, Netherlands, June 19, 2017–Troi today announced the immediate availability of Troi File Plug-in 9.0.1 for FileMaker Pro 16.
What is new in version 9.0.1?
Version 9.0.1 is a maintenance update of our plug-in for manipulating external files and folders directly from FileMaker Pro. In this version we fixed a bug with the TrFile_DragAndDrop function on Windows, which prevented drag and drop when running FileMaker Pro 16. We also improved the DragAndDrop.fmp12 example file: the calculation for the bounds of the three drag zones is now correct when running FileMaker Pro 16.
To read what was new in version 9.0 please see: https://www.troi.com/news/file90_pr/
More detailed information on all changes and improvements implemented in Troi File Plug-in 9.0.1 and earlier can be found at: https://www.troi.com/products/fileplugin/
Pricing & Availability
A fully functional demo version of Troi File Plug-in 9.0.1 is available for downloading at Troi’s Web site at: https://www.troi.com/products/fileplugin/
Licenses cost US$ 99 per user. Details on developer licenses and multi-user discounts can be found on our web site. You can order licenses from our web site.
Upgrading to version 9.0.1 is free and recommended for all users of version 9.0: version 9.0.1 works with the same registration as the 9.0 version. Users who bought a license for Troi File Plug-in on or after May 10, 2016 are entitled to a free upgrade to version 9.0.1. Eligible users have been sent a new 9.0 registration. Contact us if you have not received yours.
Upgrades from licenses bought before May 10, 2016, are available from US$ 59 per user. Upgrade prices for other licenses can be found on our web site. You can order upgrades from our web site.
D. Budding, Troi Automatisering
I started working with FileMaker a while ago and so far it's been pretty fun and fairly easy to learn because I worked with MySQL in the past. However, there are still a few questions I have. I'm used to having complete freedom when it comes to databases, because in Python or C++ for instance I would simply write my own queries and get whatever data I need, no matter if a database is related to another or not. Anyway, the flexibility is still what causes me some problems. I have the following problem.
I'm working on an ERP (Enterprise Resource Planning) software for the owner of several restaurants. I need to have the following tables to start with:
Restaurants Employees Jobs Visa Health Insurances Meetings Now, the person using the solution needs to be able to create as many restaurants, employees, jobs and meetings as they want and assign them to each other. For instance, Restaurant A is going to have 5 employees, Employee A, B, C, D, E and so on, and all these employees will have one or multiple (this is really important) jobs assigned to them. This process has to be flexible, so I can assign an employee to whichever restaurant and job I choose. You also need to be able to assign one or more visa to a job (and the assigned employee), the same goes for one or more health insurances. The next problem is about meetings. Each restaurant needs to be able to have meetings every once in while, which need the ability to keep track of employees that attend the meeting. So you should be able to select employees form a portal or card window (in FM16 for instance) and they will be added to another table MeetingAttendees or something similar. Again, this needs to be flexible so every restaurant can create meetings and check which employee is present. (I need to be able to create a layout to display the meetings and who has been present, if possible also to see who wasn't).
Normally I would simply take the IDs and create tables that join these iDs together, however I'm not able to recreate this in FileMaker, if one relationship works, the other breaks for some reason. If anyone could give me a simple layout of what my database needs to look like, or if possible and not too much to ask an example in FileMaker. Your help is much appreciated.
Thanks in advance,
I've been using Daniel Smith's JSON scripts from (http://www.modularfilemaker.org/module/json/) to parse JSON.
It's worked quite reliably (thanks Daniel!), but I'm wondering if anyone has compared its parsing speed to MBS's JSON plugin or the new native Filemaker 16 JSON functions? I'm still on 15. I'm working with some larger JSON files that are taking a long time to parse and hoping for a faster solution.
Any data on which option parses JSON fastest? Any disadvantages/advantages to each option?