Monday, January 6, 2014

News Slider with multiple data sources for SharePoint (Content Query Webpart).

Project Description

News Slider is built for SharePoint 2007, 2010, 2013 which covers the below technical specifications
Technical Specifications:
  • Built for SharePoint 2007, 2010, 2013
  • Fetch data from multiple libraries (ex: Document Libraries, Pages Libraries)
  • jQuery based rendering
  • Enhanced/ Customized Content Query webpart
  • Responsive
    • Adapt to any screen
  • Touch
    • Swipe support that tracks touch movements on supported devices
  • CSS3 transitions
    • Animations that run smoothly on modern devices
  • Display only specified items
  • Display only published items
  • Display as per your sort order
  • Play/Pause
  • Next/Previous
  • Pause on Hover
Dependancies:
  • jQuery 1.7.1+ 
Download:
https://sharepointnewsslider.codeplex.com/

instructions document is available under downloads tab
 
Screenshots:


Thanks to SlidesJS team for developing a responsive and flexible Slider plugin based on jQuery. Please donate for their hardwork

ItemUpdating event only when metadata/properties are changed

1:  if (properties.AfterProperties["vti_sourcecontrolcheckedoutby"] == null && properties.BeforeProperties["vti_sourcecontrolcheckedoutby"] != null)
  
2:  {
  
3:  //This is when the update event is triggered by check-in.
  
4:  }
  
5:  else{
  
6:  //This is triggered by events other than check-in action.
  
7:  if (Convert.ToInt32(properties.AfterProperties["vti_filesize"]) == 0)
  
8:  {
  
9:  }
  
10:  }