Share via


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

  • _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.

See Also

Reference

CatProcureCatalogTable Table