I understand this means my app has to be a web app and that’s okay but am really at a loss on how to call and use the js function.
The function does use a json file for data which I presume I can provide locally??? The Dev does provide the code for download so not sure if I should include that in my app locally or not? Again, am really at a loss with this and would seriously appreciate any assistance. I have not been able to find any examples that appear to be along the lines of what I am trying to do so hopefully someone can help.
[quote=442696:@Beatrix Willius]I’ve uploaded an older example for D3. This is from a guy here on the forum. It should show you how to call your sunburst library.
@Beatrix Willius the example worked really well and helped me move the development along quickly.However I am stuck now that I am trying to build the app for deployment testing.The issue being the js files called by the html file can’t seem to be found. I note this is not an issue with the example provided that uses OpenDialog to load the HTML but my variation has the GetFolderItem hard coded.
It appears that the HTML file cannot find the js files so I have tried every possible build method to include in the js files in resources, contents folder as well as a dedicated folder without luck.
Is there a specific location that I should store the js files during build so they are in the correct relative position to the HTML file or is there a specific path that I should use in the HTML that points to the js?
[quote=442696:@Beatrix Willius]I’ve uploaded an older example for D3. This is from a guy here on the forum. It should show you how to call your sunburst library.
Turn on the dev tools in your browser so you can see were it expects to get the file from to start with. Then ensure that your web server is responding to the request.
Thanks James. I figured that I could recode to force the html to a browser and observe what was going on and found the issue was the data file was not in the same place so the issue was not js file location related after all. Good tip just the same as it led me to the problem and solution.