02-28-2017 11:53 AM
I am trying to import the finesse.js file and there don't appear to be typings, nor is it part of npmjs.
So I assume it's global and I will need to use the exports-loader to install it into my typescript project.
Has anyone done this?
02-28-2017 01:01 PM
Hi Joe,
I don't know anything about webpack, so I will let the Finesse community reply. In my attempt to help you out without any knowledge about webpack, can you download the finesse.js file and import it?
Thanx,
Denise
02-28-2017 01:44 PM
Hi Denise, that's what I am trying to get to.
It's an untyped library so having some problems importing it.
unfortunately I can't use webpack myself because it's controlled by angular-cli
Anyway still trying to figure out how to import.
Joe
02-28-2017 03:04 PM
so maybe the author can make a def type file and put it on npmjs? Then maybe I can make it useful.
I have tried several ways to import to no avail.
my small github sample try is here.
02-28-2017 04:23 PM
also, maybe I have got completely the wrong idea. can the finesse.js script be used outside of the gadget and just on a javascript client webpage?
03-01-2017 09:13 AM
Hi Joe,
The finesse.js is meant to be used in the gadget and on the Finesse desktop. If you want to use the Finesse APIs outside of it, you would need to use the Finesse REST APIs.
Thanx,
Denise
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide