ShowWorkflowButtons

Displays or hides workflow buttons on a view or edit screen for a record.

Pass the Record block as the argument to the Execute(Arg) method. You cannot set the Record object in the ArgObj property.

Values

This property can take one of the following values:

  • true. Displays the workflow buttons.
  • false. Hides the workflow buttons.
Examples

Record = CRM.FindRecord('MyTable','Table_Id=99');
EntryGroup = CRM.GetBlock('MyTableBlock');
EntryGroup.ShowWorkflowButtons = true;
CRM.AddContent(EntryGroup.Execute(Record));
Response.Write(CRM.GetPage());

Displays the workflow buttons on the EntryGroup object.