powervault:code_reference:objects:item

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.

$item.Number

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.

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

Accessing Number for different Vault languages:

$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:

$item.Record_VersionToChange

Item-object on an english environment:

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
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                :