Forum Discussion
LynnProspect
Apr 29, 2025Iron Contributor
Can we force Sharepoint doc links to open in new tab? Links are in dynamic lists generated via HCWP
We're creating a modern Sharepoint team site to store a few hundred documents. Each page covers a specific topic/theme, and our documents are tagged with the corresponding topic/theme using managed m...
michalkornet
May 11, 2025Iron Contributor
Hi LynnProspect​ , you can try using the PnP web part, which offers more configurable options for presenting data and works similarly to the HCWP:
https://microsoft-search.github.io/pnp-modern-search/
Do you have all the files in one Document Library? If so, you could also use the Document Library web part, assign a specific view with the desired filters, and apply view formatting to customize the layout.
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting