The ‘s script library has two views. The Scripts view provides an overview of all general properties of the scripts. The scripts are edited in the Editor view.
Script views
This lists all the scripts in the script library with all their general properties. You can update scripts that were created from script .
Table 76: Icons in the script view
Add
|
Create a new script. |
Edit
|
Edit the selected script’s general properties. |
Delete
|
Deletes the selected script. |
Import ![](/fr-fr/technical-documents/image/7034329f-7531-4047-b9bd-521d70d15f20)
|
Imports scripts from other . |
|
Updates scripts with changes from script templates. |
Table 77: General properties of scripts
Script |
Name of script. |
Description |
Text field for additional explanation. |
|
type that the script is used on. |
Is template |
Script can be used as a template for other synchronization projects. |
Uses template |
Script was imported from another script template. |
Updates available |
Script template used as basis for the script has changed. |
Updates differences |
Shows the changes to the script template. |
Updates apply |
Updates the script with the changes from the script template. |
Editor view
Show the code of the selected script. It can be edited and compiled. For more information, see Support for scripting.
Table 78: Icons in the editor view
|
Saves changes to the script. |
Compile
|
Compiles all the scripts in the script library.
Script was compiled without errors.
Script contains syntax errors.
|
Detailed information about this topic
To add scripts to the ‘s script library, create the scripts directly in the script library or take them from . You can import all scripts into other .
To add a script to the script library
-
Open the script library.
-
In the Scripts view, click Add.
-
Enter the script’s general main data.
-
Name: Unique script name.
-
: type that the script is applied to.
-
Description: Text field for additional explanation.
-
Is : Specifies whether the script can be used as a template for other synchronization projects.
-
In the Editor view, edit the script.
For more information, see Support for scripting.
- Click OK.
To import a script
-
Open the script library.
-
In the Scripts view, click Import.
-
Select the script to import.
This saves a copy of the script that you can to fit the project.
To copy script properties from other scripts
-
Select the Mappings category.
-
Select a mapping in the navigation view.
-
Double-click on the schema property in the schema view.
-
In the Edit property dialog, click Move to script library.
- Confirm the security prompt with Yes.
- Click OK.
This saves a new script in the script library. The name of the script is taken from the technical name of the schema type and the name of the schema property. This script contains a read-only schema property script as well as a write-only schema property script.
Related topics
To edit a script’s main data
-
Open the script library.
-
Select the script in the Script view.
-
Click Edit.
-
Edit the script’s general main data.
-
Name: Unique script name.
-
: type that the script is applied to.
-
Description: Text field for additional explanation.
-
Is : Specifies whether the script can be used as a template for other .
- Click OK.
To edit the script
-
Open the script library.
-
Select the script in the Script view.
-
Edit the script in the Editor view.
For more information, see Support for scripting.
-
Click
.
To compile the script.
-
Open the script library.
-
Select a script in the Script view.
-
In the Editor view, click Compile.
This compiles all the scripts in the scrip library.
To remove a script from the scrip library.
-
Open the script library.
-
Select the script in the Script view.
-
Click Delete.
- Confirm the security prompt with Yes.
Related topics
You can import scripts can be imported into other and them there. Sometimes you can use scripts for the same synchronization projects without having to change them. Scripts like this are maintained centrally and changes are transferred to the other synchronization projects as required. Mark scripts to use in across projects as script .
To mark a script as a script template
- Open the script library.
- Select the script in the Script view.
- Click Edit.
-
Edit the script’s general main data.
- Enable the Is template option.
- Click OK.
To import a script template into another synchronization project
- Open the synchronization project you want import the script template into.
- Open the script library.
- In the Scripts view, click Import.
-
Select the script template you want to import.
This saves a copy of the script.
You can see if the script template was changed in the script. You can decided if changes to these copies are accepted.
To view the script template changes
- Open the script library.
- Select the imported script in the Scripts view.
- In the Updates > Differences column, click Show.
To apply script template changes to the copy
- Open the script library.
- Select the imported script in the Scripts view.
- In the Updates > Apply column, click Apply.
To apply the all script templates changes
- Open the script library.
- In the Scripts view, click
.
- Confirm the security prompt with OK.
Related topics