Tuesday, April 27, 2010

cqwp listname listGuid

cqwp targetted to a specific list in a subsite will not work unitl we specify the listGuid.

Sunday, April 25, 2010

CQWP Mystery

if you are using cqwp with query override property, always set either commonviewfields or viewsfieldsoverride.

commonviewfields just requires the additional fields whereas viewfieldsoverride need the existing fields and the new fields.

Monday, April 12, 2010

search server name mapping

you can replace the server name from the crawled results with a user defined value.

e.g. http://mysite.com can be mapped to http://test.com

hence all people results will get mapped,

Username -> http://mysite.com/person.aspx?name=username -> http://test.com/person.aspx

simply create / provision a page at the root of site collection http://test.com

Sunday, April 11, 2010

DNS Overview

All about DNS

MVP Pattern - SP Web Part



Thursday, April 1, 2010

dropdownlist postback selectedindex 0

asp.net dropdownlist should have unique value item, i.e.

ddl.items.add(new listitem(key, value)) -> here value should be unique
otherwise on postback you get incorrect selectedindex.

ddl -> America, 1
Europe, 2
Asia, 3
is correct


ddl -> America 1
Europe 1
Asia 2

is not correct