Type - Create object

Declaration

<AMTYPE ACTIVITY="create_object" PROTOCOL="text (options)" PASSPHRASE="text (encrypted)" CERTIFICATE="text" TYPENAME="text" RESULTSTRUCTURE="text" ROWS="text"><PROPERTY NAME="text" VALUE="text" /></AMTYPE>

Description:

Creates an object from the defined custom type or web service.

Practical Usage

Usually used in conjunction with the Define Type action in order to create an Object from the defined custom type or web service.

Parameters

General

Property

Type

Required

Default

Markup

Description

Type name

Text

Yes

(Empty)

TYPENAME="CustomType"

The type name in which to create an object from. Click the Load properties button to populate this field with existing defined custom types.

Object name

Text

Yes

(Empty)

RESULTSTRUCTURE="ObjectName"

The name of the object to create.

Property

Property

Type

Required

Default

Markup

Description

Name

Text

No

(Empty)

NAME="String"

 The property name(s) of the object to create. Click Add to add a property type. To delete an existing property type/name, select the entry and click Delete. Additionally, items can be moved up / down the list by selecting the entry you wish to move and clicking the Move Up or Move Down button.

Value

Text

No

(Empty)

VALUE="ValueName"

The property value(s) of the object to be created.

Description

Error Causes

On Error

sample

NOTE: The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.

 

Description: Create object "theObject" of type "CompanyAddress"

 

<AMCREATEOBJECT TYPENAME="CompanyAddress" RESULTSTRUCTURE="theObject"><Property Name="addr.Street" Value="Here" /></AMCREATEOBJECT>