Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

AddAFElement Properties

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFElement Properties

The AddAFElement type exposes the following members.

Properties

  NameDescription
Public property
AFCategories

AF Categories this element belongs to

Use Get-AFCategory to get the Categories to apply to the element

Public property
AFDatabase

AF Database to which the element should be added

Public property
AFElement

Parent AF Element to which the new element should be added

Public property
AFElementTemplate

AF Element Template to base AF Element on

Use Get-AFElementTemplate to get the Element Template from which to add the Element

Public property
AFReferenceType

Specify the hierarchical relationship between the newly created element and the element which owns this collection of elements

Public property
CheckIn

Check in changes immediately

Public property
Description

Description of AF Element to create

Public property
ExtendedProperties

Extended properties of the new element

Public property
Name

Name of the AF Element to create

See Also

TitleResults for “How to create a CRG?”Also Available in