Get a View ID

From AgileApps Support Wiki
Revision as of 00:21, 29 December 2011 by imported>Aeric (Created page with "To get the ID for a view: # Go to '''Workspace > {object}''' # Use your browser's page-inspection tools to retrieve the ID of the view. For example, assume that the view you want…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To get the ID for a view:

  1. Go to Workspace > {object}
  2. Use your browser's page-inspection tools to retrieve the ID of the view. For example, assume that the view you want is called "Open Orders". Then:
    • In Chrome:
      1. Click the dropdown next to the View: label (just above the list of records, in the left corner).
        The dropdown list is now open.
      2. Right click the view label and choose Inspect Element.
    • In FireFox, use the FireBug plugin:
      1. Right click and choose Inspect Element.
        The FireBug console opens.
      2. Click the HTML tab
      3. Search for the name of the view ("Open Orders")
    • In all browsers, display the page source and search for the name of the view.

The call you've found looks like this:

<a href=​"javascript:​lj_changeCurrentTabView('Service?s=1139&a=...&id=...
&show_layout={form_id}&object_id=...')​;​" ...>Open Orders​</a>​

Extract value of the form ID from the show_layout parameter.