Item

An Item object is of type PsObject and represents an Item located in Vault.

The $item object is dynamically generated based on the defined Item Properties in Vault. Therefore all item 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
$item.Number

Remarks

Item objects returned by the Get-VaultChangeOrderAssociations cmdlet also include User Defined Link properties if they are available in Vault.
These Linked properties names are prefixed with ‘Record_’ on the Item object.

Localization

$item 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)

Examples

Accessing Number for different Vault languages:

1
2
3
$item.Number #can be used with English Vault
$item.Nummer #can be used with German Vault
$item._Number #can be used with all Vault language environments

Accessing a Link property named VersionToChange returned by Get-VaultChangeOrderAssociations:

1
$item.Record_VersionToChange

Item-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
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Version                           : 5509
_VersionNumber                    : 5509
Comment                           :
_Comment                          :
Number of Attachments             : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_NumManualAttachments             : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Date Modified                     : 13.12.2017 19:19:56
_ModDate                          : 13.12.2017 19:19:56
Latest Version                    : True
_LatestVersion                    : True
Controlled By Change Order        : False
_ControlledByChangeOrder          : False
Change Order State                :
_ChangeOrderState                 :
Originator                        : coolOrange
_Originator                       : coolOrange
Original Create Date              : 09.07.2015 10:18:00
_OrigCreateDate                   : 09.07.2015 10:18:00
Thumbnail                         : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo
_Thumbnail                        : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo
Provider                          : Inventor
_Provider                         : Inventor
Name                              : 100001
_Name                             : 100001
Property Compliance               : Compliant
_Compliance                       : Compliant
Property Compliance (Historical)  : Compliant
_Compliance(Ver)                  : Compliant
Latest Released Revision          : False
_LatestReleasedRevision           : False
Released Revision                 : False
_ReleasedRevision                 : False
Initial Release Date              :
_InitReleaseDate                  :
Initial Approver                  :
_InitApprover                     :
Category Name                     : Document
_CategoryName                     : Document
Category Name (Historical)        : Document
_CategoryName(Ver)                : Document
Category Glyph                    : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_CategoryGlyph                    : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Category Glyph (Historical)       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_CategoryGlyph(Ver)               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Lifecycle Definition              : Item Release Process
_LifeCycleDefinition              : Item Release Process
Lifecycle Definition (Historical) : Item Release Process
_LifeCycleDefinition(Ver)         : Item Release Process
State                             : Work in Progress
_State                            : Work in Progress
State (Historical)                : Work in Progress
_State(Ver)                       : Work in Progress
State Glyph                       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_StateGlyph                       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
State Glyph (Historical)          : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_StateGlyph(Ver)                  : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Revision Scheme                   : Standard Alphabetic Format
_RevisionDefinition               : Standard Alphabetic Format
Revision Scheme (Historical)      : Standard Alphabetic Format
_RevisionDefinition(Ver)          : Standard Alphabetic Format
Revision                          : A
_Revision                         : A
Last Updated By                   : coolOrange
_LastModifiedUserName             : coolOrange
Number                            : 100001
_Number                           : 100001
Title (Item,CO)                   : Front Hub Carrier R.ipt
_Title(Item,CO)                   : Front Hub Carrier R.ipt
Units                             : Each
_Units                            : Each
Description (Item,CO)             : PAD LOCK ASSEMBLY
_Description(Item,CO)             : PAD LOCK ASSEMBLY
Type                              :
_ItemClass                        :
Equivalence Value                 : 100001
_EquivalenceValue                 : 100001
Effectivity                       :
_ItemEffectivity                  :
Eff. Start                        :
_ItemEffectivityStart             :
Eff. End                          :
_ItemEffectivityEnd               :
Obsolete                          : False
_Obsolete                         : False
File Link State                   : Current
_FileLinkState                    : Current
Latest Released Date              :
_LatestReleaseDate                :
Latest Approver                   :
_LatestApprover                   :
Entity Type                       : Item
_EntityType                       : Item
Entity Type ID                    : ITEM
_EntityTypeID                     : ITEM
Entity Icon                       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
_EntityIcon                       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
Path                              :
_EntityPath                       :
Full Path                         :
_FullPath                         :
Attachments                       : True
_HasAttachments                   : True
Link Target Path                  :
_LinkTargetPath                   :
Date Modified (Date Only)         : 13.12.2017 00:00:00
Date Modified (Time Only)         : 01.01.0001 19:19:00
Original Create Date (Date Only)  : 09.07.2015 00:00:00
Original Create Date (Time Only)  : 01.01.0001 10:18:00
Initial Release Date (Date Only)  :
Initial Release Date (Time Only)  :
Latest Released Date (Date Only)  :
Latest Released Date (Time Only)  :
Type Description                  : Item
_EntityDescription                : Item
Vault Status                      :
_VaultStatus                      :
Id                                : 138286
MasterId                          : 16437
PersistentId                      :
PersistentMasterId                :
ThinClientHyperLink               : http://localhost/AutodeskTC/Vault/items/item/16437
ThickClientHyperLink              : http://localhost/AutodeskDM/Services/EntityDataCommandRequest.
                                    aspx?Vault=Vault&ObjectId=100001&ObjectType=ItemRevision&Comma
                                    nd=Select