Thursday, November 29, 2012

SharePoint Kings: How to make My group task webpart from My task

To display the tasks assigned to the groups that the user belongs to.


 1. Add content query web part on the page.
2. Edit that web part. In Query section select Source as task list (you can browse and select task list)
3. Set Additional Filter with “Assigned To” --> “is equal to” --> [Me]
4. Apply it

Now if you see that web part must looks like normal task web part.

Now export that web part.

Save it on your pc.

It should have .webpart extension.

Open it with notepad(or any editor)

Find QueryOverride property. (it must be blank) like this <property name="QueryOverride" type="string" /> now add below query inside <property name="QueryOverride" type="string" ></property> here is the query <Or> <Eq> <FieldRef Name="AssignedTo"/><Value Type="Integer"><UserID/></Value> </Eq> <Membership Type="CurrentUserGroups"><FieldRef Name="AssignedTo"/></Membership> </Or>

SharePoint Kings: How to make My group task webpart from My task: Hi, We all are using my task web part (superb out of the box web part) but most of the time we are having requirement where a task is ass...

Wednesday, November 14, 2012

Reset FAST Search Server for SharePoint (FS4SP) Index

First, need to reset the index in Central Administration / Application Management / Manage Service Applications, then click your FAST Search content SSA, then click Index Reset.

We are not done yet, we also need to manually clear the content from the content collection that our FAST Search Content Search Service Application feeds to. The default collection name is sp.

To clear a FAST Search Server 2010 for SharePoint content collection, log onto the server that hosts FAST Search Server 2010 for SharePoint and follow this procedure.

Clear the content collection

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
  2. On the Start menu, click All Programs.
  3. Click Microsoft FAST Search Server 2010 for SharePoint.
  4. Click the Microsoft FAST Search Server 2010 for SharePoint shell.
  5. At the Microsoft FAST Search Server 2010 for SharePoint shell command prompt, type the following command:
    Clear-FASTSearchContentCollection -Name
    Where:
    • is the content collection you are about to clear.
  6. Wait for the command to finish. This may take some time.

    After all of above is finished, then we can start new crawls.

Tuesday, November 13, 2012

SharePoint List View Filter Order of Precedence

This blog post explains the order of precedence of list view filters, with good example.

Here are the basic rules I copied from above post:

1. All logical operations occur from top to bottom.
2. Earlier logical operations are nested within later logical operations.

Wednesday, November 7, 2012

SharePoint 2010 Stretched Farm

Very good information.
 
Killing two birds with one stone: SharePoint HA and DR with stretch farm, and everything you want to know about it

Setting-up SharePoint 2010 stretched farm

It looks like that SharePoint 2013 does not support stretched farm, see http://technet.microsoft.com/en-us/library/cc262485%28v=office.15%29.aspx#hwLocServers
All servers that belong to a server farm, including database servers, must physically reside in the same datacenter. Redundancy and failover between closely located data centers that are configured as a single farm ("stretched farm”) is not supported in SharePoint 2013. 

But as this the comments from this blog shows, it depends and it is often case by case.

 

 

Tuesday, November 6, 2012

Using the Row ID value in a calculated column quirk


Sharepoint has a quirk where it drops the [ ] around ID in the calculated value. This happens when either a new item is added to the list or I edit an existing item. The short-term fix is that every time a change is made, I have to manually go enter the brackets back around  ID but it’s hard to keep up with. Long-term fix is to use SharePoint Designer workflow.

Please see detail here.