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:
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.
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'.
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.
Similarly, profiles can be viewed from the 'Profiles' tab - each profile can be selected by dragging the upper carousel.
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.
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:
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:
In case anyone has the same issue - the second zip file is not an extension - unzip it and use 'import from file' within Composer.
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.