SBM AppScript Reference → Programming SBM AppScript → 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: (Boolean) – True if the item is found on the list.
Copyright © 2007–2016 Serena Software, Inc. All rights reserved.