Verify Method (Article)

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

Description

Checks the article against the current schema.

It Verifies that article content corresponds to the structure specified in the current schema and that it does not references invalid or duplicated objects (pictures, multi-media and URL elements).

If the article is correct the function display an 'OK' message and returns EOK, otherwise a list of errors is displayed and the function returns EFAILED.

Available in Ted and Fred.

Syntax

object.Verify

object

Required. Object name. Returned by Ted.GetActiveArticle.

Example

This script checks the article and displays the result.

  If Ted.HasActiveArticle Then

     Ted.GetActiveArticle.Verify()

  End If

Context

Article object