Customizing DPM > Replacing Modular Mashups
Replacing Modular Mashups
Certain mashups in the DPM user interface are designed to be modular. This means you can easily replace those mashups with your own customized mashups by changing the mashup defined in a configuration table. Services which call these modular mashups do not explicitly call the mashup. Instead, they call a service which retrieves the mashup defined for that modular mashup in the configuration table. As long as your custom mashup has the same inputs and outputs as the original mashup, it and the surrounding functionality will work as expected.
* 
Ensure that you are using secure expressions in your custom mashups. For more information, see Using Secure Expressions in Custom Mashups.
For more information on working with mashups, see Mashup Builder in the ThingWorx Help Center.
Replacing a Modular Mashup
To replace a modular mashup with a customized mashup:
1. In ThingWorx Composer, navigate to the appropriate manager Thing:
Action Tracker—PTC.ActionTracker.Manager
Performance Analysis—PTC.PerformanceAnalysis.Manager
Production Dashboard—PTC.ProductionDashboard.Manager
2. Under Configuration, in the MashupConfiguration table, click Edit icon. next to the id field for which you want to replace the mashup.
3. Change the mashupName to the name of your customized mashup, and click Set.
4. Click Save to save the changes to the manager Thing.
Reverting to the Original Modular Mashup
To revert back to the original modular mashup:
1. In ThingWorx Composer, navigate to the appropriate manager Thing:
Action Tracker—PTC.ActionTracker.Manager
Performance Analysis—PTC.PerformanceAnalysis.Manager
Production Dashboard—PTC.ProductionDashboard.Manager
2. Under Configuration, in the MashupConfiguration table, click Edit icon. next to the launch point id for which you want to replace the mashup.
3. Change the mashupName back to the original mashup name, and click Set. The original mashup names are listed here:
4. Click Save to save the changes to the manager Thing.
Was this helpful?