3.1.3. Pre Create Script
About this task
- Overview: Pre create script.
- Configuration: Pre create script.
Overview: pre Create Script
If class objects require additional functionality that is not configured in the class, the additional functionality can be included in a script. that will call the PreObjectCreateentry point before the object is created.
CimClassActionList (object) | |
CimClassAttribute (object) | |
CimClassAttributeList (object) | |
CimClassDataItemExpression (object) | |
CimClassDataItemExpressionList (object) | |
CimClassDataItemList (object) | |
CimClassEventActionList (object) | |
CimClassEventList (object) | |
CimClassInstance (object) | |
CimClassList (object) | |
CimClassScript (object) | |
CimClassScriptList (object) |
Configuration: pre Create Script
The content of the pre create script depends entirely on your class/object requirements. The one unique feature when configuring the class is that you enter its ID in the pre create script field on the Genera tab in the Class dialog box.
- Class: Pre Create Script Configuration
New Pre Create Script
Procedure
-
Click the Popup menu button to the right os the Pre create script field; select New on the Popup menu.
A New Script Name dialog box opens.
-
Enter a name in the Script field.
- Click OK.
-
Click the Browse button to the right of the Pre create script field.
A Select a Script browse window opens.
- Select a script.
-
Click the Popup menu button to the right of the Pre create script field; select Browse.
A Select a Script browse window opens.
- Select a script.