ElementfindAncestorElement Method |
Find at any level, not only a Parent at the first level.
Namespace:
Aras.Modules.CMF.Public
Syntaxfunction findAncestorElement(elementType);
Parameters
- elementType
- Type: string
see the "type" property.
Return Value
Type:
[T:(Any)]Aras.Modules.CMF.Public.Element
Examplesvar foundElement = element.findAncestorElement('CMF Element Type Name');
See Also