Created
July 25, 2015 19:53
-
-
Save netmanchris/d73f6c00e0fb08a07228 to your computer and use it in GitHub Desktop.
Get View ID
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
def get_view_id(view_name): | |
view_list = get_custom_views() | |
for i in view_list: | |
if i['name'].lower() == view_name.lower(): | |
view_id = i['symbolId'] | |
return i['symbolId'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment