Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


Opens a new instance of an object for a given Identifier.


OpenId object


The OpenId statement has the following argument:

object Name of the object for which a new instance should be created.


The following example demonstrate how to use the OpenId statement:

person = OpenId User.Person(5012) 
  'Instantiates a person object with the Id of 5012
Copy code to clipboard

See Also

FeedbackOpens in a new window