Last active
May 16, 2020 18:34
-
-
Save vkostyanetsky/ee1f913868673c2218877dfbecc9b08a to your computer and use it in GitHub Desktop.
How to Find a Standard Attribute with Particular Name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&AtServerNoContext | |
Function IsStandardAttributeWithName(Attribute, MetadataObject, StandardAttributeName) | |
Try | |
Result = Attribute.Name = MetadataObject.StandardAttributes[StandardAttributeName].Name; | |
Except | |
Result = False; | |
EndTry; | |
Return Result; | |
EndFunction // IsStandardAttributeWithName() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
У меня на сайте есть заметка про эту функцию.