Loading...

Handy uses of qListView (SP2007)

Handy uses of qListView (SP2007)

  • This topic is empty.
Viewing 3 reply threads
  • Author
    Posts
    • #5127
      Anonymous
      Anonymous
      Participant

      And for another twist – a similar use can provide alternatives to the custom action buttons – just for more flexibility in layout.  We have a qListView with the Custom Display tab creating hyperlinks which open special-use webpart pages.  Below the qListForm that displays the general data for the item, we have a qListView, again, filtered for the current ID, with the definition shown below.  This places two links, one left-aligned and the other right-aligned, that open webpart pages for creating visitor passes for our manufacturing facilities.

      <table>
      <tr>
      <td width=33%>
      <font size=+1>
      <a href="../../Shared%20Documents/companyPass1.aspx?companyID=<%ID%>&Source=../default.aspx">New Contractor Pass</a>
      </font>
      </td>
      <td width=33%>
       
      </td>
      <td align=right>
      <font size=+1>
      <a href="../../Shared%20Documents/vehiclePass1.aspx?companyID=<%ID%>&Source=../default.aspx">New Vehicle Pass</a>
      </font>
      </td>
      </tr>
      </table>

    • #5126
      Anonymous
      Anonymous
      Participant

      I should have said "… We turned off Creation/Modification info…" (see below).

      Jim Boling wrote:

      ... So what we did was add a qlistview web part to the display and edit pages, at the bottom.  We turned off on Creation/Modification info in the qListForm configuration.  Then we connected the qListView to the qListForm via the ID...

    • #3994
      Anonymous
      Anonymous
      Participant

      We are using Sharepoint 2007.

      We have begun to see the capabilities of qListView for additional function as well as improving look and feel of our create/display/edit pages.

      Because qListView allows custom design (using the last tab on the ezEdit window), you can incorporate qListView webparts into the layout of your pages – especially display and edit, but to some degree, create also.

      A really good example: our customer wanted a couple of other pieces of information to show in the footer where the Creation and Modification info show.  They wanted it to look something like:

      Created at 10/4/2010 12:28 PM  by Jane DoeLast modified at 10/4/2010 12:28 PM  by John Doe

      Approved at 10/5/2010 2:00 PM by Jane Doe

      Completed at … <you get the idea>

      So what we did was add a qlistview web part to the display and edit pages, at the bottom.  We turned on Creation/Modification info in the qListForm configuration.  Then we connected the qListView to the qListForm via the ID.

      Now, we can configure the qListView so it filters on the item with the matching ID, so it only shows that item.  Then we use the custom display tab with the following the Results Body:

      Created at <%Created%> by <%Created By%><br>Last modified at <%Modified%> by <%Modified By%><br>Last approved at <%finalApprovalDate%> by <%lastApprover%><br>Last rejected at <%rejectedDate%>

      And we end up with a footer that looks just like standard sharepoint, but with custom content!  Using this example, you can quickly see other opportunities.  We have also used qListView to create a custom heading for the page, in a similar manner as above.

    • #7119
      Anonymous
      Anonymous
      Participant

      Thanks for this Jim!!

      We love to hear about how folks are using the WebParts here so keep these coming!!

Viewing 3 reply threads

You must be logged in to reply to this topic.