Identifica se l'oggetto EntityDef contiene un'azione con il nome specificato.
VBScript
entitydef.IsActionDefName name
Perl
$entitydef->IsActionDefName(name);
VBScript
set sessionObj = GetSession
set entityDefObj = sessionObj.GetEntityDef(GetEntityDefName())
If entityDefObj.IsActionDefName("open") Then
sessionObj.OutputDebugString "The record type supports the open action"
End If
Perl
$sessionObj = $entity->GetSession();
$entityDefObj = $sessionObj->GetEntityDef($entity->GetEntityDefName());
if ($entityDefObj->IsActionDefName("open"))
{
$sessionObj->OutputDebugString("The record type supports the open action");
}