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