Skip to content

Trying to run widget outside of Thingworx #13

@hkz1000

Description

@hkz1000

I'm not sure how I can test my widget (which runs fine in Thingworx) outside of Thingworx using index.html in the root folder. If I put the address of htmlDemo.bundle.js in the script tags then the page just displays "test foo". If I put the address of widgetIde.bundle.js then I get an error in the console: "Uncaught ReferenceError: TW is not defined". If I put the address of widgetRuntime.bundle.js then I get a different error in the console: "Cannot read property '@@_willBind' of undefined".

Do I have to do some additional configuration to these js files to get my widget running outside Thingworx using index.html?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions