cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Example ThingWorx Analytics 8.1 Mashup

Level 5

Example ThingWorx Analytics 8.1 Mashup

Put together a quick example mashup in support of a couple of analytics projects to demonstrate use of the new TWX Analytics 8.1 APIs within TWX mashup builder. The intention here is for use in POCs to provide a quick way of demonstrating customer-facing analytics outputs along with the more detailed view available in Analytics Builder.


Required pre-requisites are:

  • ThingWorx 8.1 + Analytics Extensions
  • ThingWorx Analytics Server 8.1
  • Carousel TWX UI widget (attached) imported into TWX
  • Data set(s) loaded with signals / profiles generated.

The demo can be installed by importing the attached entities file into TWX composer then launching the mashup 'EMEA.Analytics.CustomerInsightMashUp'.

A quick run through of the functionality ...

On launching the mashup, data sets and models are displayed for selection on the left hand-side.

1.PNG

On selecting dataset and model, signals are presented in two tabs - first an overview of all signals. The list on the left can be expanded by changing the value for 'Top <n> Contributing Features'.

2.PNG

On selecting a signal from the list, the 'Selected Signal Details' tab displays additional charting for value ranges, average goal etc. The number of 'bins' to display can be edited.

3.PNG

Similarly, profiles can be viewed from the 'Profiles' tab - each profile can be selected by dragging the upper carousel.

4.PNG

This is all done using the Analytics 8.1 "Things" in TWX along with an additional custom Thing with some scripted services (EMEA.Analytics.Helper).

Thanks to Arian Van Huelsen & Tanveer Saifee at PTC for their support; all comments / feedback welcome.

Tags (1)
4 REPLIES 4

Re: Example ThingWorx Analytics 8.1 Mashup

As at Analytics version 8.1, in case you're having a problem seeing Signals and Profiles using this mashup, please note that the Signals and Profiles need to be created from inside the model, not from the main Analytics Builder screen.

So you need to click Models, then select your model, then select View, now click Signals inside the model. If this has not previously been done for this model, you will see the message "No Signals exist for this Model, do you want to create them?". Click Yes and the Signals will be generated. The menu option is shown in the screenshot below:

1.PNG

If however you create the Signals and Profiles from the main Analytics Builder screen, then they will not be visible from EMEA.Analytics.CustomerInsightMashUp. So any Signals and Profiles created using the method shown in the screenshot below will not be visible in EMEA.Analytics.CustomerInsightMashUp:

3.PNG

Re: Example ThingWorx Analytics 8.1 Mashup

Hi,

Can you please provide the steps to install these extensions?

I am able to import the extension carousel-extension.zip but could not import other  Analytics 8.1 Eaxmple Customer Mashup.twx.zip

Please let me know how can i view the above mentioned mashups.

Re: Example ThingWorx Analytics 8.1 Mashup

In case anyone has the same issue - the second zip file is not an extension - unzip it and use 'import from file' within Composer.

Re: Example ThingWorx Analytics 8.1 Mashup

In case anyone gets this error: Could not load "PTC.AppSwitcher.Button". Reason: 404 - Entity Not Found : [PTC.AppSwitcher.Button]

The solution (Thanks Roy!) is to install TWX Utilities.