Content Query functionality on modern SPO site

%3CLINGO-SUB%20id%3D%22lingo-sub-1757058%22%20slang%3D%22en-US%22%3EContent%20Query%20functionality%20on%20modern%20SPO%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1757058%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all.%20I%20am%20wondering%20if%20there%20is%20a%20way%20to%20replicate%20the%20site%20selection%20functionality%20of%20the%20old%20Content%20Query%20web%20part%2C%20with%20the%20Highlighted%20content%20web%20part%20or%20something%20similar.%20With%20the%20old%20CQ%20part%20you%20could%20select%20the%20site%20you%20want%20to%20pull%20from%20and%20then%20filter%20from%20there.%20With%20Highlighted%20Content%20it%20doesn't%20give%20you%20the%20option%20to%20select%20another%20site%20to%20pull%20from%2C%20it's%20only%20within%20the%20current%20site.%20Is%20there%20anyway%20to%20pull%20in%20content%20from%20another%20site%20-%20and%20then%20filter%20it%20like%20you%20would%20with%20Highlighted%20Content%3F%20Thanks%20all.%20dB.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1757058%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Econtent%20query%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFilter%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHighlighted%20Content%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1757121%22%20slang%3D%22en-US%22%3ERe%3A%20Content%20Query%20functionality%20on%20modern%20SPO%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1757121%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418434%22%20target%3D%22_blank%22%3E%40DallasBland%3C%2FA%3E%2C%20While%20using%20highlighted%20content%20web%20part%3A%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EIn%20the%20%3CSTRONG%3ESource%3C%2FSTRONG%3E%20dropdown%2C%20choose%3A%20%3CSTRONG%3ESelect%20sites%26nbsp%3B%3C%2FSTRONG%3Eoption%3C%2FLI%3E%3CLI%3EWhen%20you%20select%20%3CSTRONG%3ESelect%20sites%3C%2FSTRONG%3E%2C%20you%20can%20search%20for%20the%20site%20you%20want%20to%20add%2C%20or%20select%20one%20or%20more%20sites%20from%20%3CSTRONG%3EFrequent%20sites%3C%2FSTRONG%3E%2C%20or%20%3CSTRONG%3ERecent%20sites%3C%2FSTRONG%3E.%20You%20can%20select%20up%20to%2030%20sites.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22f626b6e2-dbc9-4e26-b79d-e1c5678a1471%22%20style%3D%22width%3A%20336px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F225055i7443EF8390AB6D0C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22f626b6e2-dbc9-4e26-b79d-e1c5678a1471%22%20alt%3D%22f626b6e2-dbc9-4e26-b79d-e1c5678a1471%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EReference%3A%26nbsp%3B%3C%2FSTRONG%3E%3CA%20title%3D%22Use%20the%20Highlighted%20content%20web%20part%22%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fuse-the-highlighted-content-web-part-e34199b0-ff1a-47fb-8f4d-dbcaed329efd%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EUse%20the%20Highlighted%20content%20web%20part%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20solve%20your%20issue.%20This%20will%20help%20others%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20content%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1762451%22%20slang%3D%22en-US%22%3ERe%3A%20Content%20Query%20functionality%20on%20modern%20SPO%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1762451%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418434%22%20target%3D%22_blank%22%3E%40DallasBland%3C%2FA%3E%2C%20If%20you%20want%20to%20filter%20by%20the%20custom%20columns%20you%20created%20then%20you%20need%20to%20create%20a%20managed%20property%20for%20you%20custom%20columns.%20Then%20you%20can%20select%20a%26nbsp%3B%3CSTRONG%3EManaged%20property%3C%2FSTRONG%3E%20option%20in%26nbsp%3B%3CSTRONG%3EFilter%3C%2FSTRONG%3E%20dropdown%20and%20apply%20your%20filters%3C%2FP%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20solve%20your%20issue.%20This%20will%20help%20others%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20content%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi all. I am wondering if there is a way to replicate the site selection functionality of the old Content Query web part, with the Highlighted content web part or something similar. With the old CQ part you could select the site you want to pull from and then filter from there. With Highlighted Content it doesn't give you the option to select another site to pull from, it's only within the current site. Is there anyway to pull in content from another site - and then filter it like you would with Highlighted Content? Thanks all. dB.

3 Replies

@DallasBland, While using highlighted content web part: 

  1. In the Source dropdown, choose: Select sites option
  2. When you select Select sites, you can search for the site you want to add, or select one or more sites from Frequent sites, or Recent sites. You can select up to 30 sites.

f626b6e2-dbc9-4e26-b79d-e1c5678a1471

Reference: Use the Highlighted content web part 


Please click Mark as Best Response if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Like.

@ganeshsanap Thank you for your response. I think I had discovered that actually. But if in the source field I select 'A document library in this site' then when I get down to 'Filter' I get the option to sort by a column where I can choose a column I have created. But If I 'Select sites' in the sources, then when I go down to filter I don't get the option to filter by a column. I only get the options in the attached image. Choosing 'Select site' changes the options you get after that choice. I need to be able to select a site, then filter by columns that I have created.

@DallasBland, If you want to filter by the custom columns you created then you need to create a managed property for you custom columns. Then you can select a Managed property option in Filter dropdown and apply your filters


Please click Mark as Best Response if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Like.