Skip to main content
1-Visitor
September 5, 2019
Solved

I want to use a simple script.

  • September 5, 2019
  • 4 replies
  • 2019 views

I want to use a simple script.

When using a common function
And when using a simple JavaScript,


Is it possible to use it like Jsp?

For example

[

<script src="common.js"></script>

<script type="text/javascript">

    function clickSearch() { alert("completion"); }

</script>

]

Detailed instructions are not provided in this manual.

https://developer.thingworx.com/en/resources/learning-paths/customize-ui-and-display-options

http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx%2FHelp%2FMashup_Builder%2FWidgets%2FButtonBarWidget.html%23

Best answer by slangley

Hi @KANGJAEHYUCK.

 

This post may help to answer some of your questions.  It sounds like you need to focus on the data change event for addressing your issue.

 

Regards.

 

--Sharon

4 replies

Support
September 5, 2019

Hi @KANGJAEHYUCK.

 

It's not clear what you are trying to do.  Can you provide more detail on your use case?  What version of ThingWorx are you running?

 

Regards.

 

--Sharon

1-Visitor
September 6, 2019

Thank you for your answer.

 

This is the latest version.
For example, move pages with parameter values, pop-up,
And I want to process events when the value of the text changes.

And

As in the picture below
How to handle events when using Yes and No in ConfirmationPrompt

 

I think I can add the source to subscription, but I don't know how.

question5.PNG

 

slangleyCommunity ManagerAnswer
Support
September 11, 2019

Hi @KANGJAEHYUCK.

 

This post may help to answer some of your questions.  It sounds like you need to focus on the data change event for addressing your issue.

 

Regards.

 

--Sharon

16-Pearl
September 20, 2019

@KANGJAEHYUCK 

I just wanted to follow up with you to see if previous response was helpful for your question?

If so, please indicate the appropriate response as the Accepted Solution for the benefit of other Community members who have the same question. If you are still experiencing issues, please do let us know your questions or concerns.

 

Thanks,

Vibhuti