FolderId Property (Article)

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:07

Description

Returns or set the database id of the folder the article is in.

Available in Ted and Fred.

Syntax

object.FolderId

object

Required. Object name. Returned by Ted.GetActiveArticle, or Fred.GetActiveArticle, e.g. dim objarticle = Ted.GetActiveArticle or dim objarticle = Fred.GetActiveArticle.

Remarks

In Ted, for not yet saved new articles it returns 0. Cannot be set for articles which are already saved.

Example

This script displays the id of the article's basket.

If Ted.HasActiveArticle Then

 dim objArticle = Ted.GetActiveArticle

 dim id as integer = objArticle.FolderId

 msgbox ("This is id of the article's folder:" & id)

End If

Context

Article object

See also

PictureBasketId