开发者

How can I display results filtered by creator?

开发者 https://www.devze.com 2023-02-22 02:35 出处:网络
I am using SharePoint 2010 and am adding a data view web part to the DispForm page for a custom list. I want to be able开发者_运维知识库 to display a history of list items created by the user (NOT cur

I am using SharePoint 2010 and am adding a data view web part to the DispForm page for a custom list. I want to be able开发者_运维知识库 to display a history of list items created by the user (NOT currently logged in user). Example:

  1. "User A" adds a new help desk ticket
  2. "User B" views the list item and sees a DVWP that is filtered to display only the results from the list item's creator

Can I do this dynamically using the "created by" field? How would I filter this so that it displays all items created in this list by "created by"? This is for a help desk system I am developing. Essentially I just want to be able to filter based on the list item's creator.


There will be multiple users who will be adding the ticket. In the dataview properties you have options to display a toolbar over the dataview web part. There are options to Filter,Sort and Group.

Alternatively you can Sort and Group the dataview in SPD based on 'Created By' field. I think this should be the way to do it. The User B should be able to view all tickets grouped by 'Created By' field.

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消