ShowNewWorkflowButtons

Displays or hides a New button on a screen that shows a list of records.

The New button creates a record in a workflow. To specify the table to be used by this property, use the WorkflowTable property.

Values

This property can take one of the following values:

  • true. Displays the New button.
  • false. Hides the New button.
Example

List = CRM.GetBlock('MyTableList');
List.WorkflowTable = 'MyTable';
List.ShowNewWorkflowButtons = true;
CRM.AddContent(List.Execute(''));
Response.Write(CRM.GetPage());

Shows the New button.