joshua haznedar Posted August 6, 2019 Share Posted August 6, 2019 Hi there, I would like to embedd a action control button in the text area, so that my users within the WebPlayer view will be taken to a certain webpage once they click on the button. Is this possible and if Yes, how can it be accomplished I know that I can create a text and embedd the URL, but would like to make it a button instead. Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted August 7, 2019 Share Posted August 7, 2019 Using the out of the box action control button it is not possible. BUt you can use the HTML/JS to do the same. A sample HTML code would as below Link to comment Share on other sites More sharing options...
joshua haznedar Posted August 7, 2019 Author Share Posted August 7, 2019 Thank you Shandilya. Not too familiar with HTML and JS. How would one add a physical button. Do I need to paste the code you provided into the script window Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted August 7, 2019 Share Posted August 7, 2019 yes. After you insert an Text Area visualization, right click and select Edit HTML. Then paste the above code into the editor and save. Then try to click the button and it should open a new tab in browser. You might have to change the URL and button name as needed Link to comment Share on other sites More sharing options...
joshua haznedar Posted August 7, 2019 Author Share Posted August 7, 2019 @Shandilya, It says that the element input is not support when pasting it into the HTML window. Any other idea thoughts on this Thanks Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted August 7, 2019 Share Posted August 7, 2019 By default only the following HTML elements are supported in an HTML Text Area, https://docs.tibco.com/pub/sfire-analyst/7.11.1/doc/html/en-US/TIB_sfire-analyst_UsersGuide/index.htm#text/text_supported_html_in_the_text_area.htm If you use any other elements then you get the error. To resolve this you can change the preferences as described in the following KB, https://support.tibco.com/s/article/How-to-disable-the-HTML-Sanitation-check 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