Copying and Pasting Widgets and Scripting Objects
You can copy and paste widgets together with corresponding scripts, as well as scripting objects together with functions within a single application or from one application to another.
Prerequisites
You have created an analytic application with widgets that contain scripts, or you have created scripting objects such as script variables, script objects and OData services. Now you want to use one or more of these widgets or scripting objects with the corresponding scripts in another application or even within the same application.
Context
The procedures of copying and pasting widgets and scripting objects are identical. In the procedure below, we will take widgets as an example.
Procedure
- Select the widget you want to reuse in the main canvas and click Copy on the short menu on the right side of the widget.
- Decide whether you want to use the widget/script within the same application or in another.
-
To reuse the widget/script within the same application, proceed as
follows:
-
If you want to reuse the widget/script in another application, proceed as
follows:
Results
You can see that the assigned script has been copied from one widget to the pasted widget: the fx button next to the pasted widget name in the outline of the analytic application is already active. Click on the fx button to see the copied script.