Skip to main content
Sep 5, 2019 7:18 AM UTC
Solved

I want to use a simple script.

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

slangleyAnswer
Sep 11, 2019 1:47 PM UTC

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

Sep 5, 2019 2:56 PM UTC

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

Sep 6, 2019 1:24 AM UTC

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

 

slangleyAnswer
Sep 11, 2019 1:47 PM UTC

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

Sep 20, 2019 11:39 AM UTC

@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