WHFSType::SetInstanceData (open)

Set the instance data for a specific whfs object

Syntax

LOADLIB "mod::system/lib/internal/whfs/contenttypes.whlib";

INTEGER64 FUNCTION SetInstanceData(INTEGER objectid, RECORD newinstancedata, RECORD options)

Parameters

INTEGER objectid

Id of the object to set the instance data for

RECORD newinstancedata

New instance data to set

RECORD options

Options

isvisibleedit

Whether the modificationdate should be adjusted (defaults to the contenttype cloneoncopy value).

orphans

Allow to set orphaned cells

Return value

INTEGER64