tag:blogger.com,1999:blog-1078032318127767231.post5685418271340540301..comments2024-03-20T01:42:16.872-05:00Comments on Spotfire Developer: Rename an Action Control Button with a Document Property valueJose Leviaguirrehttp://www.blogger.com/profile/12377756211132280060noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-1078032318127767231.post-12548192537112961192017-08-07T07:32:16.140-05:002017-08-07T07:32:16.140-05:00Thanks Jose, you are maestro :-) .
Thanks Jose, you are maestro :-) . <br />Anonymoushttps://www.blogger.com/profile/08653735770003784347noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-29118150572372497742017-08-05T07:37:21.552-05:002017-08-05T07:37:21.552-05:00hi Vojtěch,
Thanks for your comment. Yes, seems ...hi Vojtěch, <br /><br />Thanks for your comment. Yes, seems that the design architecture changed on the back end. Try using jquery in your javascript to get the values of your elements:<br /><br />change:<br />myProperty=document.getElementById("myProperty").innerText<br />to:<br />myProperty=$("#myProperty").text()<br /><br />and :<br />control = document.getElementById("myControl").firstChild<br />control.value = myProperty<br />to:<br />control = $("#myControl input")<br />control.val(myProperty)<br /><br />I updated the postJose Leviaguirrehttps://www.blogger.com/profile/12377756211132280060noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-88629436299860996812017-08-04T09:52:34.990-05:002017-08-04T09:52:34.990-05:00Is this still working in new version of Spotfire? ...Is this still working in new version of Spotfire? I tried in 7.8 and no success.Anonymoushttps://www.blogger.com/profile/08653735770003784347noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-66913317750376893862014-09-12T20:20:12.789-05:002014-09-12T20:20:12.789-05:00you need to add from Spotfire.Dxp.Application.Visu...you need to add from Spotfire.Dxp.Application.Visuals import TablePlot, HtmlTextArea at the beginning of the python scriptJose Leviaguirrehttps://www.blogger.com/profile/12377756211132280060noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-38726638954503138252014-09-12T17:17:21.892-05:002014-09-12T17:17:21.892-05:00Can you help, I get an Iron Python error: Microsof...Can you help, I get an Iron Python error: Microsoft.Scripting.Runtime.UnboundNameException: name 'HtmlTextArea' is not defined<br /> at IronPython.Runtime.PythonContext.MissingName(SymbolId name). Thanks in advance.ACLAPhttps://www.blogger.com/profile/03350648829420097608noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-81742662309588206282014-09-03T12:37:01.415-05:002014-09-03T12:37:01.415-05:00Thanks, Jose
I appreciate for your helpThanks, Jose<br />I appreciate for your helpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-77834724942514097772014-09-03T11:40:28.765-05:002014-09-03T11:40:28.765-05:00'vis' is a Script Parameter that points to...'vis' is a Script Parameter that points to your text area visualizationJose Leviaguirrehttps://www.blogger.com/profile/12377756211132280060noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-36216591632315829182014-08-26T17:06:06.697-05:002014-08-26T17:06:06.697-05:00Could you please let me know, how to get the outpu...Could you please let me know, how to get the output, I tried my best but did not get the desired result. Please help me, when I try to copy the Java Script my Label is disappeared. Another problem, I am getting an exception with Iron Python script. Here is the short detail: Microsoft.Scripting.Runtime.UnboundNameException: name 'vis' is not defined<br /> at IronPython.Runtime.PythonContext.MissingName(SymbolId name)<br /> at Microsoft.Scripting.Runtime.LanguageContext.LookupName(CodeContext context, SymbolId name)Anonymousnoreply@blogger.com