Compare versions of a widget related record
Compare an Angular Provider or ng-template against its previous version so that you check if your most recent code changes are causing issues on a portal page.
Before you begin
Role required: admin or sp_admin
About this task
Your widget may be using potentially problematic code from any of the following records:
- Widget Dependencies
- Angular Providers
- Angular ng-templates
You can compare versions for these related records directly from your portal page to check code changes for each related record.
Note: There's no option to compare versions for Widget Dependency records. Also, there's no option to compare versions for related records that you created. You can only compare versions of a base system record that you modified.
Procedure
Navigate to a portal page.
On the page, open the widget context menu by CTRL+right-clicking any widget.
On the widget context menu, click Show Widget Customizations.
Widgets are color-coded as follows:
Color Customization level Green Base system widget Yellow Cloned widget Blue New widget Red Customized widget On a widget, click the information icon (
Information icon\).
Related records that you modified or developed are outlined in red.
Related records outlined in red
Next to a Angular Provider or ng-template record, click Compare.
The system displays the records of the current and previous versions side by side.
Comparison between current and previous versions of a related record
Although both sides are labeled **Version**, the left-side record represents the previous version and the right-side record represents the current version.
- For each field in which it appears, click the window icon (
Window icon\) to open the code comparator.
Your most recent changes to the widget code are highlighted in the code comparator.
Code comparator