Custom Object

A CustomObject object is of type PsObject and represents a Vault Custom Entity.

The $customObject object is dynamically generated based on the defined Custom Entity Properties in Vault. Therefore all properties are directly available on this object.
The properties are named the same as in Vault, including whitespaces. If you want to access such a property you have to enclose it in single quotes.

Syntax

1
$customObject.Name

Localization

$customObject is supporting this feature:

  • all active properties can be accessed via the displayName

  • all active properties can be accessed via _SystemName

except: the ones with guids (=user defined)

Example:

$customObject.’Category Name’ can be used when working against english vault $customObject.Kategoriename can be used when working against german vault $customObject._CategoryName can be used on all vault language environments

Examples

CustomObject-object on an english environment:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Created By                : Administrator
_CreateUserName           : Administrator
Name                      : Apple
_Name                     : Apple
Property Compliance       : Compliant
_Compliance               : Compliant
Category Name             : Base
_CategoryName             : Base
Category Glyph            : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_CategoryGlyph            : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Lifecycle Definition      : Simple Release Process
_LifeCycleDefinition      : Simple Release Process
State                     : Work in Progress
_State                    : Work in Progress
State Glyph               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_StateGlyph               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Custom Object Name        : Fruit
_CustomEntityName         : Fruit
Custom Object System Name : e50f0cd1-dfdf-46d0-a5ea-fedb0378d459
_CustomEntitySystemName   : e50f0cd1-dfdf-46d0-a5ea-fedb0378d459
Create Date               : 27.07.2015 15:57:07
_CreateDate               : 27.07.2015 15:57:07
Obsolete                  : False
_Obsolete                 : False
Create Date (Date Only)   : 27.07.2015 00:00:00
Create Date (Time Only)   : 01.01.0001 15:57:00
Entity Type               : Fruit
_EntityType               : Fruit
Entity Type ID            : e50f0cd1-dfdf-46d0-a5ea-fedb0378d459
_EntityTypeID             : e50f0cd1-dfdf-46d0-a5ea-fedb0378d459
Entity Icon               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_EntityIcon               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Path                      :
_EntityPath               :
Full Path                 :
_FullPath                 :
Link Target Path          :
_LinkTargetPath           :
Type Description          : Fruit
_EntityDescription        : Fruit
Id                        : 4986
MasterId                  : 4986
PersistentId              :
PersistentMasterId        :