Skip to content

Instantly share code, notes, and snippets.

@netmanchris
Created July 25, 2015 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netmanchris/d73f6c00e0fb08a07228 to your computer and use it in GitHub Desktop.
Save netmanchris/d73f6c00e0fb08a07228 to your computer and use it in GitHub Desktop.
Get View ID
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