ZOMCreate

ZOMCreate

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

ZOMCreate

Create selected objects.

Syntax

ZOMCreate <object> […]

Options

;k [!]The ;k option is used to assign a keyword to the selected object(s). If the keyword is already assigned, this assignment is ignored. If “!” is specified, the keyword assignment is removed for the object(s).
;p [!]Set the specified user-designated property for the selected object(s). If “!” is indicated, the specified property is reset for the selected object(s).

Comments

ZOMCreate create the objects indicated. Full dependency information is not available for the objects before they are created, so ZOM assumes some basic dependencies prior to attempting the create in an attempt to get the objects in the right order. Some esoteric circumstances, like a relationship that depends on the role of another relationship do not necessarily work in one pass. What happens is that some of the objects on the list fail to create. Once the first pass at the create has completed, you can find out which objects failed to create by using the Exists property, as shown below:

ZOMList +p e!

This command lists all the objects which are currently not created. If you suspect that these objects failed to create because they were executed in the wrong order, you can ask ZOMCreate to create only the non-existent objects, as shown below:

ZOMCreate +p e!

This command touches the objects created once its action has completed. This results in the object’s status and dependency information being updated. For more information, refer to ZOMTouch.This action results in the objects affected being keyworded as “changed.” The exact keyword used is determined by ZOM’s configuration. For more information, refer to ZOMConfig.

Examples

The following command creates the object “Customers.”

ZOMCreate Customers

The following command creates all objects that have not yet been created.

ZOMCreate +p e!

 

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish