How to print the mashup using a button?
Please provide some documentation or some instruction on how to work on it.
shalini visveswaraiya: At this moment, we do not have a standard extension with this functionality so you might need to build a custom extension with required functionalities.
If you are looking to bring up the browser print functionality (like when you press CTRL+P), I was able to get this to show up using a Link widget with the SourceURL property set to:
<a href="#" onclick="window.print();return false;">Print this page</a>
When you click the link in the mashup, it pulls up the browser's print dialog. I was using Thingworx 7.1.
Have the posts by Durgesh helped you resolve this issue? If so, please mark this as an Accepted Solution for the benefit of the rest of the Community. If there is still an issue, please let us know.
-- Craig A.
You can also use an Expression widget with "print()" in the Expression field (no quotes " "). Then trigger the expression using a button.
If one of the previous posts provided a solution to your question, please mark it as the Accepted Solution for the benefit of others with the same question.