Forum Discussion

David Bargna's avatar
David Bargna
Iron Contributor
Jun 27, 2018

customise modern web parts.

We are experimenting with migrating our inhouse built news letter to communications sites. This so far is pretty fine our our requirements, we have added a couple of custom columns/metadata, such as  Contact, Event & Building, very simple stuff. We would like to see these items rendered in the News Item Page and also in the News Rollup which is seen on the homepage.

 

We are unsure of the correct way to modify "Modern" pages, we assume that we should use SPFx to insert the metadata into the page and webpart - would this be correct?

 

    • Deleted's avatar
      Deleted
      Yeah, to follow up on Juan's comment, the meta data easy mode is coming. Technically you can add meta data to your site pages library and start using them now it's just a lot less intuitive as you have to go to the library to update that meta data.

      I recently have been trying to modify the news articles with css injector application customizer which was a pain to get going, but I did and it works, but low and behold SharePoint uses some kind of dynamic css tags, so the injector can hide things like the post author and views from the posts, but then later that day it won't work anymore cause the css tag changed..... frustrating :). Guess I need to learn how to write my own SPFX webparts from scratch with my non coding self!

Resources