Skip to content

jkruse/dataflex-webapis

Repository files navigation

dataflex-webapis

DataFlex Custom Components for Web APIs.

Contains DataFlex implementations of:

How to get it

Option 1

Download either just the prebuilt custom components (WebAPIsComponents.zip) or the entire demo workspace with prebuilt components (WebAPIsDemo.zip) from the Releases page.

Option 2

Download or clone the source code from GitHub, install NodeJS, and build the components with

> npm ci
> npm run build

Usage

Copy AppHtml/Custom and the AppSrc/*API.pkg files to your workspace. If you don't have the AppHtml/Custom folder, see "How to get it" above.

Include these two lines in your index.html (if your application only runs on fairly modern browsers, you can probably omit the first one):

<script src="https://unpkg.com/core-js-bundle/minified.js"></script>
<script src="Custom/index.js"></script>

NOTE that some of these APIs require a secure context, which means they only work when page is accessed using https! Those APIs are marked with a padlock icon in the demo application.