Skip to main content Skip to complementary content

CreateObject method

Overview

Creates a generic object at app level. For more information on generic objects, see Generic object definition.

It is possible to create a generic object that is linked to another object.

A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in qExtendsId).

The linked object has the same properties as the linking object.

Information noteThe linking object cannot be a transient object.

Parameters

Name Description Type
qProp

Information about the object

This parameter is mandatory.

GenericObjectProperties

See GenericObjectProperties.

Information noteIn addition to the parameters specified above, the parameter qProp can get any properties defined in the Generic object definition section.

Outputs

The following is returned in the output:

"result": { "qReturn": { "qType": "GenericObject", "qHandle": <handle of the new object> }, "qInfo": { "qId": "<identifier of the new object>", "qType": "<type of the new object>" } }

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!