Monday, August 24, 2015

KQL or FQL does not contain starts with query

Sharepoint search query KQL does not support StartsWith in sharepoint. So to achieve it, you will have get the results using name:word* and change the result set to show actual data based on javascript etc..

Monday, August 10, 2015

After and Before Properties in Sharepoint Event receivers

Below are the list of differences in Item Properties
List
ListBeforePropertiesAfterPropertiesproperties.ListItem
ItemAddingNo valueNew valueNull
ItemAddedNo valueNew valueNew value
ItemUpdatingOriginal valueNew valueOriginal value
ItemUpdatedOriginal valueNew valueNew value
ItemDeletingNo valueNo valueOriginal value
ItemDeletedNo valueNo valueNull
Document Library
LibraryBeforePropertiesAfterPropertiesproperties.ListItem
ItemAddingNo valueNo valueNull
ItemAddedNo valueNo valueNew value
ItemUpdatingOriginal valueNew valueOriginal value
ItemUpdatedOriginal valueNew valueNew value
ItemDeletingNo valueNo valueOriginal value
ItemDeletedNo valueNo valueNull
It will help somebody for sure.