Tom Tang 2 Posted January 3, 2020 Share Posted January 3, 2020 hi there I have a requirement that need to build a dropdown list using html in text area becasue the spotfire dropdown list does not have search box. so my question will be how can I access data which is from a datatable in html, I have below html code with hardcoded dropdown data how do I replace these dropdown content with data of a datatable is it possible to generate a json file from datatable and consume these json in html thru js (not sure how to do it, I am not a js guy), any suggestion thanks! Dropdown About Base Blog Contact Custom Support Tools Link to comment Share on other sites More sharing options...
Rayees Wani Posted January 7, 2020 Share Posted January 7, 2020 There isn't any API to achive this. You may log an enhancement for the same. To report, track status of and vote for enhancements, please go to the TIBCO Ideas Portal: https://ideas.tibco.com This is the most effective way for you to interface directly with our product team and see the status of your enhancement ideas. I would also recommend check the wiki articles present here: IronPython Scripting in TIBCO Spotfire https://community.spotfire.com/wiki/ironpython-scripting-tibco-spotfire Link to comment Share on other sites More sharing options...
Tyger Guzman 2 Posted January 7, 2020 Share Posted January 7, 2020 You could try a python script to save datatable information to a document property in the JSON format :http://bispotfire.blogspot.com/2015/07/data-table-to-json-format-string.htmlthen us JS to read the document property. Link to comment Share on other sites More sharing options...
Tom Tang 2 Posted January 8, 2020 Author Share Posted January 8, 2020 thanks Rayees! Link to comment Share on other sites More sharing options...
Tom Tang 2 Posted January 8, 2020 Author Share Posted January 8, 2020 thanks typer appreciate that Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now