Examples: Columns_AutoGenTokensForEnumField()

The following is the GetColumnTokens procedure for the Leads card list defined in the sample integrating application. This procedure creates the filter tokens for the Lead Business Category column, which is based on a drop-down list field.

in ListObjState list_object;
in ColFieldID nFieldID;
in ColArrayIndex nArrayIndex;
in long nColumnID;

local boolean status;

if nFieldID = resourceid(field 'Lead Business Category') then
	{Can use the auto-generated tokens}
	status = Columns_AutoGenTokensForEnumField(list_object,  'Lead Business Category' of window State, nColumnID) of form syListObj;
end if;

Documentation Feedback