rvspt / D3DynamicTreeLayout-QS

Qlik Sense extension that displays an Hierarchical Tree using D3, with user interaction
MIT License
10 stars 9 forks source link

Does not render in Sense Sept 2017 #6

Closed mountaindude closed 6 years ago

mountaindude commented 7 years ago

Trying to use the extension with Sense September 2017 version.

Using a very basic load script from the Sense help pages:

TreeView: Hierarchy(NodeID, ParentID, NodeName, ParentName, NodeName, PathName, '\', Depth) LOAD * inline [ NodeID, ParentID, NodeName 1, 4, London 2, 3, Munich 3, 5, Germany 4, 5, UK 5, , Europe ];

This gives me a table like this:

bigquery_360_v2_beta_dev___sheets_-_qlik_sense

But the extension does not recognise anything I enter in the Node name property:

bigquery_360_v2_beta_dev___sheets_-_qlik_sense

Am I missing something in the formatting of the data, or is it a bug?

mountaindude commented 7 years ago

Looks like list_nodeName:{ ref: "qListObjectDef.qDef.qFieldDefs.0", label: "Node Name", type: "string", expression: "" },//qListObjectDef.qDef.qFieldDefs

is causing this.

Removing that, and re-instating the nodeName property makes the extension tick again.

Maybe you had some work-in-progress around using list_nodeName? Good if so, but it seems to break the extension in its current form.

pertjo commented 7 years ago

mountaindude

How do i re-instating the nodeName property?

im new to extensions and i would be really happy if you explained in more detail of how i should do. I also get the same problem with parent ID when i delete "list_nodeName

rvspt commented 6 years ago

Updated the extension. v1.3.1 should cover the issue.