SBM ModScript Reference → Programming SBM ModScript → Application Objects → Object Types → FolderItemList
A FolderItemList is an AppRecordList holding objects of type FolderItem. Typically, the ReadWithWhere() method is used to fill the list with all items from a given folder.
AppRecordList->FolderItemList
Contains( tableId, recId ): Searches the list for the given item from the given table. This method assumes the list contains only FolderItem objects from a single folder and thus tells you whether that folder contains the item.
Input: tableId (Long Integer) – Table ID of the item to search for.
Input: recid (Long Integer) – TS_ID of the item to search for.
Output: N/A
Return: (bool) – True if the item is found on the list.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.