ID of the parent category the letter template is associated with.
object.ParentID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLetterTemplateCategory interface |
int
Display some information about the category the letter template is associated with, including its parent ID.
Dim aLetTempCategories
Dim aLetTempCategory
Dim i
Dim aMessage
Set aLetTempCategories = Profile.LoadLetterTemplateCategories
aMessage = vbNewLine & "Letter Template Categories Count = " &_
aLetTempCategories.Count & vbNewLine
for i = 0 to aLetTempCategories.Count -1
set aLetTempCategory = aLetTempCategories.Item(i)
aMessage = aMessage & vbNewLine &_
"Category Name: " & aLetTempCategory.Name & vbNewLine &_
"Category ID: " & aLetTempCategory.ID & vbNewLine &_
"Category Parent ID: " & aLetTempCategory.ParentID & vbNewLine &_
"Category Path : " & Replace(aLetTempCategory.Path, chr(10), "\") & vbNewLine
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Parent ID cannot be found. Parent Category can be found in
.