fmw-utils

1.4.5 • Public • Published

fmw-utils

Some useful fuctions for building FileMaker Web Viewer Widgets

Usage

You can load it directly from the unpkg cdn

//latest version
<script src="https://unpkg.com/fmw-utils" crossorigin></script>

once loaded you can find the methods on the fmwUtils global object

or if you are using a bundler like webpack, you can install from npm

npm install fmw-utils

and then import

import {fmFetch} from 'fmw-utils

Highlights

fmFetch is a fetch replacement for calling a FileMaker script and gettint a promise back in return. This is probably why you are here.

FileMaker Version Support

FileMaker 19 only Windows will use IE 11 as the web viewer engine and therefor requiring polly filling fetch. Many app frameworks like create react app have ways to do this. You can try one like this if you don't

https://github.com/taylorhakes/promise-polyfill

API

Generated API Docs

Readme

Keywords

none

Package Sidebar

Install

npm i fmw-utils

Weekly Downloads

36

Version

1.4.5

License

MIT

Unpacked Size

435 kB

Total Files

11

Last publish

Collaborators

  • toddgeist