Loading...

qListView of Document Library limited to subfolder?

qListView of Document Library limited to subfolder?

  • This topic is empty.
Viewing 5 reply threads
  • Author
    Posts
    • #6950
      Anonymous
      Anonymous
      Participant

      Hi Sandy,

         Open the ezEdit form and go to CAML Filter for Folders. Hit Edit and build your condition(s) there.

      Please let me know how it goes.

    • #5089
      Anonymous
      Anonymous
      Participant

      Hi Sandy,

        I'll provide an answer to you shortly.

    • #4028
      Anonymous
      Anonymous
      Participant

      I have a document library for meeting minutes.  Top level year (2010, 2011, etc.), next level is the different categories (team goals, underwriting, claims, etc.) then in there are sub-categories (e.g. in team goals: IT, HR, Admin, etc.).  The meeting minutes document library is contained in our Employee Center.  How can I display for the individual teams using a qListView that have team sites their respective meeting minutes that are in the Employee Center community, Meeting Mintues Doc Library and sub-folders, 2011>Team Goals>IT.  All I want to display is the documents in the IT folder.

      Any thoughts?

    • #6951
      Anonymous
      Anonymous
      Participant

      I've tried that…For example we have a document library called Meeting Minutes.  Inside Meeting minutes there is this folder structure:

      2011 > PQP > PQP-CLUE

      All I want to display is the documents in the PQP-CLUE folder and I put this in the CAML Filter for Folders:

      <Eq>
        <FieldRef Name="FileLeafRef" />
        <Value Type="File">PQP-CLUE</Value>
      </Eq>

      I have Show Folder Tree on Page Load checked and all I see after applying this filter is Meeting Minutes and there are now subfolders available or documents.

      I've attached some print screens to help see what I'm talking about.

      Without CAML Filter for Folders:

      without filter - shows everything in document library.jpg

      With CAML Filter for Folders:

      With CAML Folder Filter - can't see anything.jpg

    • #4814
      Anonymous
      Anonymous
      Participant

      Any one have any thoghts on why this won't work correctly…it's been marked Assumed Answered but I'm still having the same issue so I don't think it's been answered.

      Thanks

    • #5465
      Anonymous
      Anonymous
      Participant

      Hi Sandy,

      I found solution for this. However I hope you can filter only the top level folder (1 level from top).

      1. In the qListView webpart, select “ezEdit” option.
      2. In the popup window, select “Display” tab.
      3. Scroll to field “CAML Filter for Folders”.
      4. Copy & paste the below code on the field.

      <Eq>

        <FieldRef Name="FileLeafRef" />

        <Value Type="File">2010</Value>

      </Eq>

      Note: Replace 2010 with required sub folder name.

      1. Select the option “Apply CAML Filter On First Level Folder Only”
      2. Click “Ok” button to save the changes.

      Now it'll appear

      Thanks.

      -Venkatesh R

Viewing 5 reply threads

You must be logged in to reply to this topic.