Results 1 to 2 of 2

Thread: 7.1 Ext.Factory.exporter(... --> not a function

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2013
    Location
    Australia
    Posts
    510

    Default 7.1 Ext.Factory.exporter(... --> not a function

    var exporter = Ext.Factory.exporter({ ...
    exporter.saveAs().then( function() { exporter.destroy(); } );

    https://docs-devel.sencha.com/extjs/...rter.Base.html

    gives error
    Ext.Factory.exporter is not a function

    app.json

    "requires": [
    "font-awesome",
    "pivot",
    "exporter"
    ],

    package.json

    "@sencha/ext-exporter": "^7.1.0",

  2. #2
    Sencha - Support Team keckeroo's Avatar
    Join Date
    Mar 2008
    Location
    Winnipeg, Canada
    Posts
    389

    Default

    I see you do have 'exporter' in your manifest (app.json) file. Have you rebuilt your application (sencha app build development) to register the changes you made to the manifest ? Ext.Factory.exporter will only understand 'exporter' once the exporter classes have been loaded.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •