- This topic is empty.
- 11/11/2010 at 11:22 am #5127
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.
<a href="../../Shared%20Documents/companyPass1.aspx?companyID=<%ID%>&Source=../default.aspx">New Contractor Pass</a>
<a href="../../Shared%20Documents/vehiclePass1.aspx?companyID=<%ID%>&Source=../default.aspx">New Vehicle Pass</a>
- 11/12/2010 at 8:45 am #5126
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...
- 11/12/2010 at 8:52 am #3994
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.
- 11/12/2010 at 8:52 am #7119
Thanks for this Jim!!
We love to hear about how folks are using the WebParts here so keep these coming!!
You must be logged in to reply to this topic.