Ability to open *.txt file when selecting node in ICICLE

Skip to first unread message

Darren Chappell

Sep 16, 2019, 6:48:29 AM9/16/19
to JavaScript InfoVis Toolkit

I'm  looking for some guidance (HELP)

I've been using and updating a JS file for a few years, with no concerns.
NOW . . . I would dearly like to be able to open a *.txt file when selecting a node...

current code :
"name":"TOOLING","id":"30427","children":[{"name":"Scrap < £50","id":"30428","children":[{"name":"0679 - RELEASE CATCH (BIPOD) MACHINING","id":"30429","children":[{"name":"1","id":"30430","children":[{"name":"5027","id":"30431","children":[{"name":"09-09-19","id":"30432","data":{"$color":"#934A09"}}],"data":{"$color":"#C67227"}}],"data":{"$color":"#E9A05F"}}],"data":{"$color":"#FFD3AC"}}],"data":{"$color":"#FF0000"}}],"data":{"$color":"#FF9900"}}],"data":{"$color":"#FFCC00"}}],"data":{"$color":"#FFFF66"}}]

[{"name":"5027"    <<< I have a respective file named in location   < P:\_PRIMARY_LOCATION_\SUB_FOLDER\SUB_SUB_FOLDER\SUB_SUB_SUB_FOLDER\5027.txt

Ideas / Suggestions would be greatly appreciated.

Michael Kogan

Sep 16, 2019, 6:57:36 AM9/16/19
to javascript-information...@googlegroups.com
Hi, I think, you need to use something like nodeJS to access the server-side file system and read in a file.

You received this message because you are subscribed to the Google Groups "JavaScript InfoVis Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javascript-information-visua...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/javascript-information-visualization-toolkit/6ae1f93b-28db-402b-895c-f190ff9bd929%40googlegroups.com.
Reply all
Reply to author
0 new messages