Monday, November 27, 2017

FileMaker cURL

FileMaker cURL


One of the most powerful and, probably, least appreciated features of FileMaker 16 is the support of cURL.  So what is cURL? Here's what Wikipedia has to say:
cURL is a computer software project providing a library and command-line tool for transferring data using various protocols. The cURL project produces two products, libcurl and cURL. It was first released in 1997. The name originally stood for "see URL".

All of which means you can now use some native cURL to get and send files over the internet.  Combine that with the FileMaker 16 JSON functions and it opens a whole new world of connectivity without using custom functions or plugins.

Steve Winters, of Matatiro Solutions, presented on FileMaker cURL at FileMaker DevCon 2017.  And if you need to get or send files, or connect easily to online services, or other communications with the world outside FileMaker, watch this video.  Download the example files and work along with him in the video.  Read up on some documentation...and save yourself a lot of time and frustration, because Winter gives you incredible code AND shows you all the 'gotchas' involved with making connections like these:

 

https://youtu.be/_15JcmQ_JiQ


Practical Examples


Winters provides code and guidance for several different services:
  • Connect to Google Calendars using OAuth (the open standard for access delegation, which allows you a way grant website or application access without giving away passwords)

  • Connect to Dropbox to upload and download files

  • Simple synch of databases using the FileMaker Data API (REST).  Or you can use fmREST, as well.


All of these techniques are basically the same, but it's the exceptions that lead to a lot of frustration and "creative language", as Winters calls it.  And all of it is in the demo file available at the link below.  And everything you learn will take you further down the path of connecting to the thousands of API's available in the rest of the digital world.

INN004 - Explore cURL for FileMaker - Steve Winter





Success is simply a matter of luck. Ask any failure.

Earl Wilson

Wednesday, November 15, 2017

FileMaker on Android as an App?

Do you want to use FileMaker on Android as an App?


It's tantalizingly close to real, but might still slip away.

If you want or need FileMaker on Android, get over to LiveCode Native now.  Kevin Miller, founder of LiveCode and LiveCode for FM, needs your help to finance this venture.  LiveCode already offers a plugin for FileMaker that greatly expands its capabilities.  And now they want to make FileMaker on Android, as an app, a reality.

In a nutshell, here's what's you will be able to do:


  •  Build beautiful, powerful, flexible native apps from your FileMaker layouts

  • Synchronize data perfectly as your app goes online and offline

  • Deploy to Android, iOS, Windows, Mac and Linux (not just to the Android OS)

  • Keep your data within FileMaker server or cloud

  • Access native objects and the operating system on each device


Here's a screenshot of your choices of standalone apps you will be able to generate:

FileMaker on Android

Check it out:


https://youtu.be/dZfWO0tkvic

Android OS is the Elephant in the room


Did you know Android has a market share of  86%?  That is a huge, untapped FileMaker market. And this might be the key to unlock it.

It's an all or nothing proposition, so if you or your clients will benefit from FileMaker on Android (or Linux, Windows, iOS, or Mac), get on board before the 24th of November.  Reach out to people you know. There's a full money back guarantee if you are not happy at the end of the pre-release program, so your exposure is limited. It's not too late to realize see FileMaker on Android.

LCFM Native – LiveCode for FM


I can't change the direction of the wind, but I can adjust my sails to always reach my destination.

Jimmy Dean

Tuesday, November 14, 2017

Excel Exports using XML and XSLT

Excel Exports using XML and XSLT


All FileMaker developers spend time figuring out how to export FileMaker data in a usable format for their clients.  Kevin Frank had a series of posts on just that subject (link in the next paragraph below).  There is way to export data from FileMaker using XML and XSLT, but it's not easy nor intuitive.  It is powerful, though.

Kudos to Beverly Voth for tackling – and taming – such a difficult subject, and to Kevin Frank for letting Beverly post on his great site, FileMakerHacks.com.  So what does this post by Beverly talk about?  Exporting data from FileMaker to Excel using XML and XSLT:
This is a follow-up to the User-Friendly Excel Exports series by Kevin Frank, but using an XML export along with various XSLT to give you .csv or .xls (for Excel). The first demo is a quick export (to CSV – comma-separated values) using an XSLT to help explain the relationship with FileMaker Pro XML export. How an XSLT style sheet reads that data to transform it into another text format (.csv or .xls) is also explained throughout the article and in comments within the XSLT. The demos will get increasingly more complex, but ultimately more “user-friendly”

It's a bit of a long read, but worth the effort if you need (or want) to export Excel data in a much more usable format for your clients.  If you don't have time now, scan it quickly, download the example file, and bookmark it for later.  When that call comes wanting better exports from FileMaker to Excel, you'll be ready to handle it.

Here's what you'll find


Among other things, it includes a free downloadable example file and instructions on using Microsoft's Excel Markup Language (XML) to format the .xlsx spreadsheet while exporting.  So why would you want to do that?  Let's hear what Beverly has to say:
So, why would we use the Excel Markup Language (XML) to make these kinds of exports? One answer has several parts: Styling, Freeze Panes, multiple worksheets, formulas and more. These are all possible with more complex XSLT (and even with values exported from FileMaker). Our export could be grouped (via the XSLT) to show summaries by Organization or Payment Type, for example.

Add multiple worksheets, grouped data with summaries, styling formulas, and more – depending upon how deep you want to dive into the XML code, of course.

And there's a section on using a repeating field in FileMaker to make custom headers in your Excel report!

Source: Excel Exports using XML and XSLT | FileMakerHacks

Wednesday, November 8, 2017

FileMaker Document Management and UX

FileMaker Document Management


You may have missed this great post by Nicolas Hunter on FileMaker Document Management on LinkedIn recently. Are you on LinkedIn?  If not, get busy and make an account – you are missing out on great business resource for learning and connecting with other business professionals.

Back to FileMaker Document Management: Richard Carlton Consulting offers a free, basic FileMaker Document Management database and a video showing the features.  The free sample database is a stripped down version of their fully functional database that is available for only $19.

Check out this video on FileMaker document management features:

https://youtu.be/h70az_CTMSE

Free Design Database, too


And while you're there, you can download a very nice free FileMaker design database that shows off a full-featured set of layout Design, layout objects and components any FileMaker developer will find useful (and it includes the scripts, as well). I like the features found in this file and will be using them moving forward.

Carlton made a longer video on this free database back in June and it's worth watching:

https://youtu.be/J7ZI79n9fwA

And don't forget to give a hat tip to Richard Carlton for making these great resources available for free to the FileMaker community.

Source: (16) UI/UX Design is your FileMaker Pro Custom App path to success. | LinkedIn


A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing.

George Bernard Shaw

Monday, October 30, 2017

FileMaker to Amazon Database

FileMaker to Amazon Database


I've blogged for four and a half years now, and in the past two years I've seen an incredible increase in both the quantity and quality of blogging in the FileMaker world.  I've also noticed better posts, better writing, and posts on an incredible breadth of subjects - web connectivity, design, tips and tricks, exploiting new features in creative ways, and more (kudos to FileMaker for moving the platform along at such a rapid and productive pace – it's easier to write when we have so many new features added every year).  The other thing I've noticed is the continued sharing of hard-earned knowledge to the greater FileMaker community.

And it's not just sharing that is notable - it's the quality of what is shared that is remarkable:  Not just the code examples, but often a completely functional free FileMaker example file that allows the lucky recipient to easily do something that would normally take a lot of blood, sweat, tears and time to do on their own.  Which brings me to the subject of my post today.

Making it Easy


Brendan McBride, of DB Services, wrote a blog post in September (and I missed it then, dang it!) about connecting FileMaker to Amazon Marketplace Web Services (Amazon MWS). And included a free FileMaker example database (download at the link below) that does all the heavy lifting for any FileMaker developer looking to make that connection.

And to top it all off, he made a short (6 minutes) video showing how to use it:

https://youtu.be/T4eZmaTtQxo

To put this in perspective, McBride just took most of the pain out of connecting FileMaker to Amazon MWS.  FileMaker developers and clients, existing and potential, will benefit. Here's why:

Authenticating with Amazon MWS is a bit tricky:  In a solution we are just finishing for a client, authenticating turned out to be the hardest part.  There were other challenges (locating, downloading and parsing custom engraved information in zipped json files comes to mind), but nothing happens without the authentication. And updating records on Amazon is not as straightforward as one would expect, but don't worry, the example file does that, as well.

So check out the video and the blog post, download the file, and take a look.  And thank Brandon for his hard work next time you get a chance.

Source: FileMaker Amazon Integration | DB Services


All I ask is the chance to prove that money can't make me happy.

Spike Milligan 

 

Monday, October 23, 2017

FileMaker 16 Progress Bar, Environment and Motivation

FileMaker 16 Progress Bar in a Card Window


Vince Dolan of the Support Group shows a very slick way to easily build two types of FileMaker 16 progress bars using a Card window, a data viewer, and some basic html. There isn't a downloadable file, but this is simple enough to put it together from the video:

https://youtu.be/X8cd8_aVmDs

Jazz it up


If you want to snazzy it up a bit, check out these links at w3schools for some help:

Basic Progress Bars

Complete Progress Bar HTML Reference

Don't overlook the Try it Yourself demo, either.

Simple and functional, or get fancy. Either way, you have an easy way to add a FileMaker 16 progress bar.

And nothing would stop you from adding it as a Webviewer on a standard page, either.  Just be sure to freeze your window so it always displays.

Source: How to Create a Progress Bar in FileMaker Pro


Motivation is Overvalued.  Environment Often Matters More.


James Clear rarely disappoints with his research into human behavior.  And this time is no exception:
It can be tempting to blame failure on a lack of willpower or a scarcity of talent, and to attribute success to hard work, effort, and grit.

To be sure, those things matter. What is interesting, however, is that if you examine how human behavior has been shaped over time, you discover that motivation (and even talent) is often overvalued. In many cases, the environment matters more.

Let me share an example that surprised me when I first learned of it.

Clear talks about one of my favorite reads,  Guns, Germs, and Steel, by scientist Jared Diamond .  In his book, Diamond talks about the differences that occur due to different environments, from a macro down to a micro level.  Clear discusses some of Diamond's finding, and gives you three ways to design your environment to maximize your success.  A must read for those struggling to overcome a bad environment.  Or to those just seeking a way to improve their own.


All wish to possess knowledge, but few, comparatively speaking, are willing to pay the price.

Juvenal