Skip to content

Instantly share code, notes, and snippets.

@vkostyanetsky
Last active May 16, 2020 18:34
Show Gist options
  • Save vkostyanetsky/ee1f913868673c2218877dfbecc9b08a to your computer and use it in GitHub Desktop.
Save vkostyanetsky/ee1f913868673c2218877dfbecc9b08a to your computer and use it in GitHub Desktop.
How to Find a Standard Attribute with Particular Name
&AtServerNoContext
Function IsStandardAttributeWithName(Attribute, MetadataObject, StandardAttributeName)
Try
Result = Attribute.Name = MetadataObject.StandardAttributes[StandardAttributeName].Name;
Except
Result = False;
EndTry;
Return Result;
EndFunction // IsStandardAttributeWithName()
@vkostyanetsky
Copy link
Author

vkostyanetsky commented Apr 11, 2020

У меня на сайте есть заметка про эту функцию.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment