MarkAsPublished (open)

Marks a file as published

Syntax

LOADLIB "mod::system/lib/testframework.whlib";

MACRO MarkAsPublished(INTEGER objid, BOOLEAN needswebdesign, DATETIME setlastpublishdate)

Parameters

INTEGER objid

File id

BOOLEAN needswebdesign

Whether the file needs a webdesign

DATETIME setlastpublishdate

If set, set the last publish date to this value