Click or drag to resize

ItemfetchDefaultPropertyValues Method

Fetches from server default values for all properties of the item's ItemType and sets them on the item.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item fetchDefaultPropertyValues(
	bool overwrite_current
)

Parameters

overwrite_current
Type: SystemBoolean
If 'true', overwrite existing property values.

Return Value

Type: Item
If fetching failed, returns "error" item that contains information about the failure. Otherwise, returns this with set property values.
Exceptions
ExceptionCondition
Exception
  • The instance doesn't represent a single item.
  • The item doesn't have attribute 'type' set.
Remarks
If a property doesn't have a default value, the property is not set.
See Also