cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
775
Views
0
Helpful
5
Replies

has anyone managed to pull the finesse.js file into webpack?

jdickinson
Level 5
Level 5

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?

5 Replies 5

dekwan
Cisco Employee
Cisco Employee

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

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

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.

https://github.com/foxjazz/fintest.git

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?

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