Clone a widget
Take advantage of existing code by cloning and editing an existing widget.
Avant de commencer
Role required: admin or sp_admin
Pourquoi et quand exécuter cette tâche
Remarque :
Base system widgets are read-only so you can
benefit from future updates. To make changes, you can clone base system
widgets. However, cloned widgets are considered custom and don't benefit from
future updates to the widgets they were cloned from.
Procédure
Que faire ensuite
If you clone a widget that uses the Angular ng-template, you must manually clone the template and change the name of the template reference in the widget.
For example, the header menu widget uses the Angular ng-template
menuTemplate. If you clone the header menu widget, you must
also clone the menuTemplate and give the clone a unique name. When
you open the clone of the header menu widget, you can see a reference to the
menuTemplate in the HTML.