Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bekahbeets
Creator
Creator

Extension creation throws error

I am learning how to create an extension. I have made it to where the buttons for adding dimensions and measures show up, but they throw an error when i go to select.

createExt.PNG

clicking on a field gives me this... (qInterColumnSortOrder error)

createExtError.PNG

Here is the js code:

(It says hello world, but im actually doing the two dim scatter tutorial.)

define(["jquery", "text!./com-qliktech-helloworld.css","./d3.min"], function($, cssContent) {'use strict';

  $("<style>").html(cssContent).appendTo("head");

  return {

  initialProperties : {

  version: 1.0,

  qHyperCubeDef : {

  qDimensions : [],

  qMeasures : [],

  qInitialDataFetch : [{

  qWidth : 4,

  qHeight : 1000

  }]

  }

  },

  definition : {

  type : "items",

  component : "accordion",

  items : {

  dimensions : {

  uses : "dimensions",

  min : 2,

  max : 2

  },

  measures : {

  uses : "measures",

  min : 2,

  max : 2

  },

  sorting : {

  uses : "sorting"

  },

  settings : {

  uses : "settings"

  }

  }

  },

  paint: function ($element, layout) {

  }

  };

} );

1 Reply
arap1218
Contributor II
Contributor II

Hello,

  Did you try and define a value for qInterColumnSortOrder for your hypercube?