Description
Returns the database id of the folder where the object is located.
Syntax
lngBasketId = object.FolderId |
object
Required. Object name. Returned by the GetRefObj function of the object, returned by Ted.GetActiveArticle.
Example
This script displays the folder id of the object.
If Ted.HasActiveArticle Then
Dim objArticle = Ted.GetActiveArticle
Dim idx As Integer = objArticle.GetCurTxtIdx
If idx >= 0 Then
If objArticle.HasRefObj(idx) Then
Dim objObj = objArticle.GetRefObj(idx)
MsgBox(objObj.FolderId)
End If
End If
End If
Context