News web part breaks when adding 10+ lookup fields to Site Pages library

%3CLINGO-SUB%20id%3D%22lingo-sub-1081622%22%20slang%3D%22en-US%22%3ENews%20web%20part%20breaks%20when%20adding%2010%2B%20lookup%20fields%20to%20Site%20Pages%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081622%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20supported%20to%20add%20more%20than%2010%20lookup%20fields%20to%20a%20document%20library%20in%20SharePoint%20Online%3F%26nbsp%3B%20According%20to%20my%20understanding%2C%20it%20should%20be%20ok%20to%20add%20dozens%20of%20lookup%20fields%20to%20any%20library%20as%20long%20as%20the%20number%20of%20lookup%20fields%20in%20the%20views%20in%20the%20library%20and%20queries%20are%20limited%20to%2012.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EReason%20for%20this%20question%20is%20that%20the%20OOB%20news%20web%20part%20stops%20working%20if%20you%20add%2010%20or%20more%20lookup%20fields%20(i.e.%20lookup%2C%20people%20or%20metadata%20field)%20to%20the%20Site%20Pages%20library.%20If%20you%20publish%20a%20news%20link%2C%20the%20OOB%20news%20web%20part%20will%20stop%20working%20if%20data%20source%20is%20set%20to%20'This%20site'%20and%20if%20there%20are%2010%2B%20lookup%20fields%20added%20to%20Site%20Pages.%20The%20same%20thing%20happens%20if%20you%20publish%20a%20news%20article%20where%20'Author%20Byline'%20is%20set%20to%20blank%20value%20(i.e.%20you%20remove%20author%20in%20the%20site%20header).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20bug%20in%20the%20news%20web%20part%20specifically%20or%20is%20there%20a%20not%20yet%20documented%20limitation%20that%20you%20can%20only%20add%20a%20maximum%20of%2010%20lookup%20fields%20to%20the%20'Site%20Pages'%20library%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EChristoffer%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1081622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

Hi all,

 

Is it supported to add more than 10 lookup fields to a document library in SharePoint Online?  According to my understanding, it should be ok to add dozens of lookup fields to any library as long as the number of lookup fields in the views in the library and queries are limited to 12.

 

Reason for this question is that the OOB news web part stops working if you add 10 or more lookup fields (i.e. lookup, people or metadata field) to the Site Pages library. If you publish a news link, the OOB news web part will stop working if data source is set to 'This site' and if there are 10+ lookup fields added to Site Pages. The same thing happens if you publish a news article where 'Author Byline' is set to blank value (i.e. you remove author in the site header). 

 

Is this a bug in the news web part specifically or is there a not yet documented limitation that you can only add a maximum of 10 lookup fields to the 'Site Pages' library?

 

Best regards,

Christoffer 

0 Replies