SOLVED

Filter out News Posts from other sites

%3CLINGO-SUB%20id%3D%22lingo-sub-1487250%22%20slang%3D%22en-US%22%3EFilter%20out%20News%20Posts%20from%20other%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1487250%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anyone%20know%20if%20it's%20possible%20to%20Filter%20out%20news%20from%20an%20SP%20Site%3F%26nbsp%3B%20Using%20the%20News%20Web%20Part%20our%20source%20is%20the%20'Recommend%20for%20current%20user'.%26nbsp%3B%20I%20need%20to%20filter%20out%20news%20from%20a%20certain%20site%20that%20everyone%20will%20be%20following.%26nbsp%3B%20I%20thought%20I%20could%20use%20the%20managed%20property%20option%20under%20Filter%20and%20use%20the%20SPSiteURL%20doesn't%20contain%20or%20not%20equal%20to%20the%20site%20URL.%26nbsp%3B%20This%20isn't%20working%20and%20not%20sure%20if%20anyone%20has%20a%20better%20option.%26nbsp%3B%20Please%20let%20me%20know%20if%20you%20need%20any%20additional%20info.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1487250%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1487279%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20out%20News%20Posts%20from%20other%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1487279%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F314143%22%20target%3D%22_blank%22%3E%40eenochs-turner%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20theory%20the%20managed%20property%20filter%20option%20could%20work%2C%20but%20if%20you%20are%20finding%20this%20is%20not%20the%20case%20then%20you%20may%20find%20that%20you%20are%20better%20off%20changing%20to%20the%20Select%20Sites%20option%20instead.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-06-24%20at%2020.21.07.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F200840iFE725EA1FC7D20BA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screenshot%202020-06-24%20at%2020.21.07.png%22%20alt%3D%22Screenshot%202020-06-24%20at%2020.21.07.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20think%20this%20method%20will%20probably%20work%20better%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1499508%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20out%20News%20Posts%20from%20other%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1499508%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20to%20use%20the%20Recommend%20for%20current%20user%20so%20each%20user%20has%20a%20different%20news%20source.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20figured%20it%20out%20though%20using%20the%20managed%20property%20filter.%26nbsp%3B%20I%20found%20a%20property%20called%20SPSiteURL%20and%20if%20I%20use%20the%20doesn't%20contain%20option%20and%20enter%20the%20site%20URL%20it%20has%20been%20working.%26nbsp%3B%20I%20now%20don't%20get%20news%20from%20that%20site.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Does anyone know if it's possible to Filter out news from an SP Site?  Using the News Web Part our source is the 'Recommend for current user'.  I need to filter out news from a certain site that everyone will be following.  I thought I could use the managed property option under Filter and use the SPSiteURL doesn't contain or not equal to the site URL.  This isn't working and not sure if anyone has a better option.  Please let me know if you need any additional info. 

2 Replies
Highlighted

@eenochs-turner 

 

In theory the managed property filter option could work, but if you are finding this is not the case then you may find that you are better off changing to the Select Sites option instead.  

 

Screenshot 2020-06-24 at 20.21.07.png

I think this method will probably work better for you.

Highlighted
Best Response confirmed by eenochs-turner (Occasional Contributor)
Solution

I need to use the Recommend for current user so each user has a different news source.  

 

I figured it out though using the managed property filter.  I found a property called SPSiteURL and if I use the doesn't contain option and enter the site URL it has been working.  I now don't get news from that site.  

 

@PeterRising