I wanted to customize the SharePoint News out-of-the-box web part so I re-created it with some of the features I wanted. The web part gets the SharePoint News Posts from a SharePoint site or multiple SharePoint sites and displays them in one of two styles. The styling of my web part is based off of the SharePoint News web part ( width, shadow, etc. )
The main features I wanted to add were the comment count, number of likes, and the pagination ability of the web part.
The web part includes:
- Pagination ( Back/Next ) and Page number
- Select Multiple Sites ( Defaults to the current site )
- Two styling options, Stack or Single
- News Title as link ( Click to go to post )
- News Thumbnail Image
- Preview of Description
- Author ( Can toggle visibility in Property Pane )
- Created Date
- Likes with Office UI Fabric Icons
- Comments with Office UI Fabric Icons ( Also retrieves nested comments )
You can find the web part here. I will be presenting this web part on the upcoming Nov. 4th SharePoint PnP Community Call- register now!
You actually make it appear so easy along with your presentation however I to find this matter to be actually one thing which I think I’d never understand. It sort of feels too complicated and very large for me. I am looking ahead in your subsequent post, I will attempt to get the grasp of it!
LikeLike
Reblogged this on reshmeeauckloo and commented:
Great demo and work Alison , looking forward to more demos and articles.
LikeLike