modInsertObjects

See Also

[@Name =] 'name', 
[@Type =] 'type',
[@ParentID =] 'parentid',
[@PermissionID =] 'perm',
[@Script =] 'script',
[@ProgID =] 'progid',
[@Caption =] 'caption'

Registers an object in the modObjects table. Exists in the solution database.

Parameters

[@Name =] 'name'

Name of the object.

[@Type =] 'type'

Object type.

[@ParentID =] 'id'

ID of the parent table (for detail tables).

[@PermissionID =] 'perm'

1 if the table should be enabled for row-level permissions; otherwise, 0. This parameter is the master switch for row-level permissions support.

[@Script =] 'script'

For workflow tables. 1 if the table uses script code for workflow actions. 0 if it uses procedures compiled in a COM library.

[@ProgID =] 'progid'

If script = 1, the progId of the scripting engine; if script = 0, is the progId of the class that implements the workflow actions for this table.

[@Caption =] caption

Description of the registered table.

Example

The following example registers the IssuesWorkflow workflow table.

EXEC modInsertObjects 'IssuesWorkflow', 'WF', 1, 0, 1, 'VBScript', 'Workflow definition for issues'