Examples: List_GetIDsForCoreCommand


The following is a portion of the CreateListRibbonData procedure for the Leads card list defined in the sample integrating application. This portion of the procedure retrieves and adds the two user-defined groups that can be added to the action pane for a list.

in ListDictID nListDictID;
in ListID nListID;

local CmdDictID nCmdDictID;
local CmdFormID nCmdFormID;
local CmdID nCmdID;
local CmdSequence nGroupSeq;

{ User Defined Group 1 }
increment nGroupSeq;
call List_GetIDsForCoreCommand of form syListObj, LISTTYPE_CARD, LISTRIBBONGROUP_USERDEF1, nCmdDictID, nCmdFormID, nCmdID;
nStatus = AddGroup(nListDictID,
		nListID,
		LIST_PRIMARYVIEWID,
		nGroupSeq, 
		nCmdDictID,
		nCmdFormID,
		nCmdID,
		""{caption},
		false{visible}) of form syListViewCmdBarObj;

{ User Defined Group 2 }
increment nGroupSeq;
call List_GetIDsForCoreCommand of form syListObj, LISTTYPE_CARD, LISTRIBBONGROUP_USERDEF2, nCmdDictID, nCmdFormID, nCmdID;
nStatus = AddGroup(nListDictID,
		nListID,
		LIST_PRIMARYVIEWID,
		nGroupSeq,
		nCmdDictID, nCmdFormID, nCmdID, 
		""{caption}, 
		false{visible}) of form syListViewCmdBarObj;


Documentation Feedback