Forum Discussion
Americo Perez
Apr 11, 2018Iron Contributor
Hoe to use CQWP against the new news app?
Hi, I am testing a combination of old and new stuff. I have a classic team site that contains a modern page with the new news app. The news app has some posts and I can see that each post get save...
Deleted
Apr 11, 2018When I was playing around with this idea for putting news on classic pages, all I did was use the Content Search web part, switch to advanced mode on the basics tab, and erase the query and put int "PromotedState=2"
This literally gave me all the news articles across the tenant, and you will only see what you have access to since it's search and trimmed. You can take it further to add filters, design elements etc. But that worked for me, for a basic pull in the news web part.
Americo Perez
Apr 11, 2018Iron Contributor
Thanks!!
I will test the PromotedState=2 right now I am using the CSWP but with a different query, it works but I am gonna test with the PromotedStarte=2 to see what happens.
Just one question which is driving me crazy. How the new news app know which pages are news or not? In my Site Page library exists both, news page and normal pages but I can see any difference in theirs proeprties, how the news app knows the difference?
Best regards
Americo