Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Shortcuts Webpart

  Asked By: Akhila    Date: Dec 30    Category: Sharepoint    Views: 48975

I am frequently getting requirements to develop a web part, that displays a
shortcut (Hyperlink) for:

1) All Discussion Boards Lists (Logged in user have access to)
2) All Meeting workspaces Sites (Logged in user have access to)
3) All Document Libraries (Logged in user have access to)
from entire site collection.

Initially I developed a webpart that scans the entire site collection's webs and
lists, but quite obviously it results in poor performance as size of site
collection grows.



5 Answers Found

Answer #1    Answered By: Katelynn Donovan     Answered On: Dec 30

I've developed  a similar web  part to show all the sites  that a user  has access
to in a farm. The performance  is pretty good because it uses a query against
the search index rather than trying to use the object model. The query
automatically security trims the results  so it only shows sites that you have
access too. By modifying the query you should be able to show only certain
types of sites or lists.

Answer #2    Answered By: Geraldine Slater     Answered On: Dec 30

When you're coding against large sets of data, the search API is always the
way to go.

Answer #3    Answered By: Gail Richmond     Answered On: Dec 30

The search engine is the way to go. You may even be able to simply
customise the standard Search Core Results web  part to do what you need without

h-techniques-property-based-search.aspx for information on the property filters
you can pass to the search engine to only return sites  or particular types of
lists, and
rs.aspx for a general discussion  of how you can use property filters in search.

Warning: the URLs above will get split in the e-mail, so you will need to cut
and paste them back together.

Answer #4    Answered By: Ramona Solis     Answered On: Dec 30

This one is linked from the previous link as well:

Answer #5    Answered By: Harvey Blankenship     Answered On: Dec 30

Your Very Own Permissions Dashboard

Didn't find what you were looking for? Find more on Shortcuts Webpart Or get search suggestion and latest updates.