locked
GUID of a specific list view? RRS feed

  • Question

  • Hello,

    I am using a webpart that calls on the GUID of a list.  However, I would like to have it instead use a view of the list.  Is there a GUID specific to a view and, if so, where can I find it?

    Thanks!

    Wednesday, May 16, 2012 9:04 PM

Answers

  • If your webpart uses code, you can call the views by name. If you want to find the GUID for views go to List Settings, and all the way down to the Views section. It will list all the views with links that contains the GUID (in the URL) for the particular view.

    MCPD, MCITP, MCTS

    • Proposed as answer by Riccardo Celesti Wednesday, May 16, 2012 10:09 PM
    • Marked as answer by Josh Loomis Thursday, May 17, 2012 9:39 PM
    Wednesday, May 16, 2012 9:13 PM

All replies

  • If your webpart uses code, you can call the views by name. If you want to find the GUID for views go to List Settings, and all the way down to the Views section. It will list all the views with links that contains the GUID (in the URL) for the particular view.

    MCPD, MCITP, MCTS

    • Proposed as answer by Riccardo Celesti Wednesday, May 16, 2012 10:09 PM
    • Marked as answer by Josh Loomis Thursday, May 17, 2012 9:39 PM
    Wednesday, May 16, 2012 9:13 PM
  • Awesome!  Do you know if I can just specify the list GUID (when in the view, after list=), or if I also have to specify the view GUID too (in the URD, after view=)?
    Wednesday, May 16, 2012 10:00 PM
  • View are specific to a list. So you would have to specify both the List ID and the View ID.

    MCPD, MCITP, MCTS

    Thursday, May 17, 2012 4:25 AM