AllowUnassigned

Changes the option name from None to Unassigned.

This property is only applicable to entry blocks whose entry type is TableSelect (lists to select users). Option name depends on the combination of the AllowUnassigned and AllowBlank values, as follows:

AllowUnassigned value

AllowBlank value

Option name

false

false

N/A

true

false

Unassigned

false

true

None

true

true

None

Values

This property can take one of the following values:

  • true. Sets the option name to Unassigned.
  • false.Does not allow the Unassigned option.
Examples

EntryGroup = CRM.GetBlock('companyboxlong');
Record = CRM.FindRecord('Company','Comp_CompanyId=30');
UserSelect = EntryGroup.GetBlock('comp_primaryuserid');
UserSelect.AllowUnassigned = true;
UserSelect.AllowBlank = false;
CRM.AddContent(EntryGroup.Execute(Record));
Response.Write(CRM.GetPage());

Changes the option caption from None to Unassigned.When a user clicks Change, the Account Manager list includes the Unassigned option instead of None.