CatProcureCatalogTable::canPreview Method
Indicates whether a preview of the given catalog is valid.
Syntax
client server public static boolean canPreview(
RecId _catProcureCatalogTableRecId,
RecId _catProcureCatalogTableOwner,
[boolean _isEPinstalled])
Run On
Called
Parameters
- _catProcureCatalogTableRecId
Type: RecId Extended Data Type
The record ID of the catalog to check.
- _catProcureCatalogTableOwner
Type: RecId Extended Data Type
The owner of the catalog to check.
- _isEPinstalled
Type: boolean
A Boolean that indicates whether EP is installed.
Return Value
Type: boolean
true if EP is enabled on the client, and the current user is the owner.
Remarks
If this method is called repeatedly, a user can improve performance by caching the result for the value of the _isEPinstalled parameter and passing the cached value.