Returns the name of the EntityDef object that is the template for this object.
To get the corresponding EntityDef object, call the Session object's GetEntityDef method.
Before using the methods of EntityDef object, you should look at the methods of Entity to see if one of them returns the information you need. Some of the more common information available in an EntityDef object can also be obtained directly from methods of Entity.
VBScript
entity.GetEntityDefName
Perl
$entity->GetEntityDefName();
VBScript
set sessionObj = GetSession ' Get the EntityDef of the record using GetEntityDefName entityDefName = GetEntityDefName set entityDefObj = sessionObj.GetEntityDef(entityDefName)
Perl
$sessionobj = $entity->GetSession(); # Get the EntityDef of the record using GetEntityDefName $entitydefname = $entity->GetEntityDefName(); $entitydefobj = $sessionobj->GetEntityDef($entitydefname);